ip xfrm: Allow to specify "all" option for monitor
Subsystems (2)
PATCH 1/1 ip xfrm: Allow to specify "all" option for monitor
From: Vadim Kochan <[email protected]>
Just to be aligned with the usage output.
Signed-off-by Vadim Kochan <[email protected]>
--- ip/xfrm_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ip/xfrm_monitor.c +1 -1
@@ -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 ); }
Signature · 1 line
2.2.2