diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-06-15 21:02:58 +0200 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2019-08-07 03:41:37 +0200 |
commit | 0da93ecfd79973603462b91512eb69bb916ccb2e (patch) | |
tree | f5d32e5f76e3feffe4a8c71c7ad7c09dcf6fd080 /eigrpd/eigrp_update.c | |
parent | eigrpd: Convert eigrp_zebra.c to use appropriate vrf_id (diff) | |
download | frr-0da93ecfd79973603462b91512eb69bb916ccb2e.tar.xz frr-0da93ecfd79973603462b91512eb69bb916ccb2e.zip |
eigrpd: Update eigrp_topology.c to not use VRF_DEFAULT
Push out the pass in of struct eigrp to all functions
in eigrp_topology.c so we do not lookup the eigrp pointer.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_update.c')
-rw-r--r-- | eigrpd/eigrp_update.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eigrpd/eigrp_update.c b/eigrpd/eigrp_update.c index 6a7c0357c..6e2a81e32 100644 --- a/eigrpd/eigrp_update.c +++ b/eigrpd/eigrp_update.c @@ -366,11 +366,11 @@ void eigrp_update_receive(struct eigrp *eigrp, struct ip *iph, eigrp_prefix_entry_add(eigrp->topology_table, pe); - eigrp_nexthop_entry_add(pe, ne); + eigrp_nexthop_entry_add(eigrp, pe, ne); pe->distance = pe->fdistance = pe->rdistance = ne->distance; pe->reported_metric = ne->total_metric; - eigrp_topology_update_node_flags(pe); + eigrp_topology_update_node_flags(eigrp, pe); pe->req_action |= EIGRP_FSM_NEED_UPDATE; listnode_add( |