]> git.proxmox.com Git - mirror_iproute2.git/commit
ip monitor: Fix issue when timestamp is printed w/o msg
authorvadimk <vadim4j@gmail.com>
Fri, 5 Dec 2014 00:18:59 +0000 (02:18 +0200)
committerStephen Hemminger <shemming@brocade.com>
Wed, 10 Dec 2014 04:17:29 +0000 (20:17 -0800)
commit6fcabac5e0f80cb7dac5ff805809fb1efcb12a10
treec3f53769268878ea9d496b5bc44fcf28ec399ea6
parent2ec28933b6cdeaf98ad8d3d6e9471b50bac91223
ip monitor: Fix issue when timestamp is printed w/o msg

The issue was observed when IPv6 router broadcasted NDUSEROPT
messages which are not handled by monitor and caused printing
'Timestamps' w/o message because such kind of rtnl messages is not
handled by monitor.

As 'ip monitor' by default subscribes to the all mcast rtnl groups except
RTGRP_TC then all messages of these rtnl groups which are not handled by
monitor may cause such issues.

Fixed by subscribing by default to rtnl mcast groups which are
supported by 'ip monitor'.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
ip/ipmonitor.c