From da0ad5cfc8485d67b88b6d37e9bdff3e404514c6 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Thu, 7 Mar 2019 17:55:31 -0500 Subject: [PATCH] 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 --- zebra/kernel_netlink.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zebra/kernel_netlink.c b/zebra/kernel_netlink.c index f52b4746ae..615926b0de 100644 --- a/zebra/kernel_netlink.c +++ b/zebra/kernel_netlink.c @@ -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);