summaryrefslogtreecommitdiffstats
path: root/eigrpd
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 /eigrpd
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 'eigrpd')
-rw-r--r--eigrpd/eigrp_zebra.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/eigrpd/eigrp_zebra.c b/eigrpd/eigrp_zebra.c
index 00438f2f4..f18d39d57 100644
--- a/eigrpd/eigrp_zebra.c
+++ b/eigrpd/eigrp_zebra.c
@@ -366,6 +366,7 @@ void eigrp_zebra_route_add(struct prefix *p, struct list *successors)
memset(&api, 0, sizeof(api));
api.vrf_id = VRF_DEFAULT;
+ api.nh_vrf_id = VRF_DEFAULT;
api.type = ZEBRA_ROUTE_EIGRP;
api.safi = SAFI_UNICAST;
memcpy(&api.prefix, p, sizeof(*p));
@@ -407,6 +408,7 @@ void eigrp_zebra_route_delete(struct prefix *p)
memset(&api, 0, sizeof(api));
api.vrf_id = VRF_DEFAULT;
+ api.nh_vrf_id = VRF_DEFAULT;
api.type = ZEBRA_ROUTE_EIGRP;
api.safi = SAFI_UNICAST;
memcpy(&api.prefix, p, sizeof(*p));