mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 23:42:27 +00:00
zebra: Add RTNLGRP_NEXTHOP group to the kernel socket
Initialize the netlink socket with the RTNLGRP_NEXTHOP group as well to listen for. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
This commit is contained in:
parent
ce0e698017
commit
da0ad5cfc8
@ -1096,7 +1096,8 @@ void kernel_init(struct zebra_ns *zns)
|
||||
RTMGRP_IPV4_MROUTE |
|
||||
RTMGRP_NEIGH |
|
||||
(1 << (RTNLGRP_IPV4_RULE - 1)) |
|
||||
(1 << (RTNLGRP_IPV6_RULE - 1));
|
||||
(1 << (RTNLGRP_IPV6_RULE - 1)) |
|
||||
(1 << (RTNLGRP_NEXTHOP - 1));
|
||||
|
||||
snprintf(zns->netlink.name, sizeof(zns->netlink.name),
|
||||
"netlink-listen (NS %u)", zns->ns_id);
|
||||
|
Loading…
Reference in New Issue
Block a user