summaryrefslogtreecommitdiff
path: root/babeld/kernel.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-08 11:17:02 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-12 09:22:07 -0500
commitd5b2119cb418c47a70eb931a4ccdb6e6f078619f (patch)
treedf7a0ae2a8bf5e344f73fe5cac7d7cd6871679e4 /babeld/kernel.c
parent2793a0980dc02ba3179c5af4468943d9d6879b62 (diff)
*: Send/receive the nexthop vrf_id
Modify the code to send and receive to/from zebra the nexthops vrf_id. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'babeld/kernel.c')
-rw-r--r--babeld/kernel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/babeld/kernel.c b/babeld/kernel.c
index 8c4fc953e7..6b673c487c 100644
--- a/babeld/kernel.c
+++ b/babeld/kernel.c
@@ -166,6 +166,7 @@ zebra_route(int add, int family, const unsigned char *pref, unsigned short plen,
api.type = ZEBRA_ROUTE_BABEL;
api.safi = SAFI_UNICAST;
api.vrf_id = VRF_DEFAULT;
+ api.nh_vrf_id = VRF_DEFAULT;
api.prefix = quagga_prefix;
if(metric >= KERNEL_INFINITY) {