summaryrefslogtreecommitdiffstats
path: root/ripd/rip_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-01-08 17:17:02 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-01-12 15:22:07 +0100
commitd5b2119cb418c47a70eb931a4ccdb6e6f078619f (patch)
treedf7a0ae2a8bf5e344f73fe5cac7d7cd6871679e4 /ripd/rip_zebra.c
parentzebra: When displaying nexthop information show correct vrf (diff)
downloadfrr-d5b2119cb418c47a70eb931a4ccdb6e6f078619f.tar.xz
frr-d5b2119cb418c47a70eb931a4ccdb6e6f078619f.zip
*: 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 'ripd/rip_zebra.c')
-rw-r--r--ripd/rip_zebra.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ripd/rip_zebra.c b/ripd/rip_zebra.c
index 041635e15..52a5d93c4 100644
--- a/ripd/rip_zebra.c
+++ b/ripd/rip_zebra.c
@@ -48,6 +48,7 @@ static void rip_zebra_ipv4_send(struct route_node *rp, u_char cmd)
memset(&api, 0, sizeof(api));
api.vrf_id = VRF_DEFAULT;
+ api.nh_vrf_id = VRF_DEFAULT;
api.type = ZEBRA_ROUTE_RIP;
api.safi = SAFI_UNICAST;