]> git.proxmox.com Git - mirror_iproute2.git/commit
ipmonitor: Add nexthop option to monitor
authorDavid Ahern <dsahern@gmail.com>
Fri, 7 Jun 2019 22:38:16 +0000 (15:38 -0700)
committerDavid Ahern <dsahern@gmail.com>
Tue, 11 Jun 2019 17:31:30 +0000 (10:31 -0700)
commite7cd93e7afe1a0407ccb94b9124bbd56b87b8660
tree9d9a61ca057a9ccf952560ef857c16a68ede3c35
parent12387e2c14d6d256cd068ca11923f23bea6727be
ipmonitor: Add nexthop option to monitor

Add capability to ip-monitor to listen and dump nexthop messages.
Since the nexthop group = 32 which exceeds the max groups bit
field, 2 separate flags are needed - one that defaults on to indicate
nexthop group is joined by default and a second that indicates a
specific selection by the user (e.g, ip mon nexthop route).

Signed-off-by: David Ahern <dsahern@gmail.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
ip/ipmonitor.c