summaryrefslogtreecommitdiffstats
path: root/eigrpd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-06-15 21:05:21 +0200
committerRafael Zalamena <rzalamena@opensourcerouting.org>2019-08-07 03:41:46 +0200
commit17c0e58653f2f1dc3bf568d945418ea1f22689cc (patch)
tree6ce871bbfce6f289dc7cf1120fcdb0d2ea36e1fe /eigrpd
parenteigrpd: Update eigrp_topology.c to not use VRF_DEFAULT (diff)
downloadfrr-17c0e58653f2f1dc3bf568d945418ea1f22689cc.tar.xz
frr-17c0e58653f2f1dc3bf568d945418ea1f22689cc.zip
eigrpd: Remove VRF_DEFAULT from eigrp_fsm.c
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd')
-rw-r--r--eigrpd/eigrp_fsm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/eigrpd/eigrp_fsm.c b/eigrpd/eigrp_fsm.c
index c60320f98..8b8ea93e8 100644
--- a/eigrpd/eigrp_fsm.c
+++ b/eigrpd/eigrp_fsm.c
@@ -486,7 +486,7 @@ int eigrp_fsm_event_q_fcn(struct eigrp_fsm_action_message *msg)
int eigrp_fsm_event_keep_state(struct eigrp_fsm_action_message *msg)
{
- struct eigrp *eigrp;
+ struct eigrp *eigrp = msg->eigrp;
struct eigrp_prefix_entry *prefix = msg->prefix;
struct eigrp_nexthop_entry *ne = listnode_head(prefix->entries);
@@ -499,8 +499,6 @@ int eigrp_fsm_event_keep_state(struct eigrp_fsm_action_message *msg)
if (msg->packet_type == EIGRP_OPC_QUERY)
eigrp_send_reply(msg->adv_router, prefix);
prefix->req_action |= EIGRP_FSM_NEED_UPDATE;
- eigrp = eigrp_lookup(VRF_DEFAULT);
- assert(eigrp);
listnode_add(eigrp->topology_changes_internalIPV4,
prefix);
}