diff options
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/src/cli-cmd-peer.c | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/src/cli-cmd-peer.c b/cli/src/cli-cmd-peer.c index 4ac1630e..9b478661 100644 --- a/cli/src/cli-cmd-peer.c +++ b/cli/src/cli-cmd-peer.c @@ -76,8 +76,10 @@ cli_cmd_peer_probe_cbk (struct cli_state *state, struct cli_cmd_word *word,          if (ret == 1) {                  ret = 0;          } else { +                cli_out ("%s is an invalid address", words[2]);                  cli_usage_out (word->pattern);                  parse_error = 1; +                ret = -1;                  goto out;          }  /*        if (words[3]) {  | 
