From: Vadim Kochan Date: Sat, 14 Feb 2015 17:45:04 +0000 (+0200) Subject: ip xfrm: Allow to specify "all" option for monitor X-Git-Tag: v4.0.0~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bf9f5c5a0f2d8a0fdb06c60242ff805177a4d73;p=thirdparty%2Fiproute2.git ip xfrm: Allow to specify "all" option for monitor Just to be aligned with the usage output. Signed-off-by: Vadim Kochan --- diff --git a/ip/xfrm_monitor.c b/ip/xfrm_monitor.c index 79453e41d..8aa6f4950 100644 --- a/ip/xfrm_monitor.c +++ b/ip/xfrm_monitor.c @@ -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); }