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>
This commit is contained in:
parent
a221d621bb
commit
5bf9f5c5a0
|
|
@ -374,7 +374,7 @@ int do_xfrm_monitor(int argc, char **argv)
|
||||||
groups = 0;
|
groups = 0;
|
||||||
} else if (matches(*argv, "help") == 0) {
|
} else if (matches(*argv, "help") == 0) {
|
||||||
usage();
|
usage();
|
||||||
} else {
|
} else if (strcmp(*argv, "all")) {
|
||||||
fprintf(stderr, "Argument \"%s\" is unknown, try \"ip xfrm monitor help\".\n", *argv);
|
fprintf(stderr, "Argument \"%s\" is unknown, try \"ip xfrm monitor help\".\n", *argv);
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue