Thread (3 messages) flat view 3 messages, 3 authors, 2016-02-05

Re: [PATCH iproute2] ipmonitor: match user option 'all' before 'all-nsid'

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2016-02-05 00:48:47

On Tue,  2 Feb 2016 16:53:40 -0800
Roopa Prabhu [off-list ref] wrote:
From: Roopa Prabhu <redacted>

'ip monitor all' is broken on older kernels.
This patch fixes 'ip monitor all' to match
'all' and not 'all-nsid'.

It moves parsing arg 'all-nsid' to after parsing
'all'.

Before:
$ip monitor all
NETLINK_LISTEN_ALL_NSID: Protocol not available

After:
$ip monitor all
[NEIGH]Deleted 10.0.0.1 dev eth1 lladdr c4:54:44:4f:b2:dd STALE

Fixes: 449b824ad196 ("ipmonitor: allows to monitor in several netns")
Signed-off-by: Roopa Prabhu <redacted>
Applied thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help