Re: [PATCH] iproute2: fix 'ip xfrm monitor all' command

2018-06-01 Thread Stephen Hemminger
On Wed, 30 May 2018 12:11:32 -0700 Nathan Harold wrote: > Currently, calling 'ip xfrm monitor all' will > actually invoke the 'all-nsid' command because the > soft-match for 'all-nsid' occurs before the precise > match for 'all'. This patch rearranges the checks > so that the 'all' command, itsel

[PATCH] iproute2: fix 'ip xfrm monitor all' command

2018-05-30 Thread Nathan Harold
Currently, calling 'ip xfrm monitor all' will actually invoke the 'all-nsid' command because the soft-match for 'all-nsid' occurs before the precise match for 'all'. This patch rearranges the checks so that the 'all' command, itself an alias for invoking 'ip xfrm monitor' with no argument, can be c