commit | 5bf9f5c5a0f2d8a0fdb06c60242ff805177a4d73 | [log] [tgz] |
---|---|---|
author | Vadim Kochan <vadim4j@gmail.com> | Sat Feb 14 19:45:04 2015 +0200 |
committer | Stephen Hemminger <shemming@brocade.com> | Sat Feb 21 16:43:23 2015 -0800 |
tree | 566779753d07367fc2777e5f2533be4801f8f5b2 | |
parent | a221d621bb4af414b974ccc40bba26481337d7cf [diff] [blame] |
ip xfrm: Allow to specify "all" option for monitor Just to be aligned with the usage output. Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
diff --git a/ip/xfrm_monitor.c b/ip/xfrm_monitor.c index 79453e4..8aa6f49 100644 --- a/ip/xfrm_monitor.c +++ b/ip/xfrm_monitor.c
@@ -374,7 +374,7 @@ 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); }