Commit 5bf9f5c5 authored by Vadim Kochan's avatar Vadim Kochan Committed by Stephen Hemminger

ip xfrm: Allow to specify "all" option for monitor

Just to be aligned with the usage output.
Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
parent a221d621
......@@ -374,7 +374,7 @@ int do_xfrm_monitor(int argc, char **argv)
groups = 0;
} else if (matches(*argv, "help") == 0) {
usage();
} else {
} else if (strcmp(*argv, "all")) {
fprintf(stderr, "Argument \"%s\" is unknown, try \"ip xfrm monitor help\".\n", *argv);
exit(-1);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment