From 17c0e58653f2f1dc3bf568d945418ea1f22689cc Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sat, 15 Jun 2019 15:05:21 -0400 Subject: eigrpd: Remove VRF_DEFAULT from eigrp_fsm.c Signed-off-by: Donald Sharp --- eigrpd/eigrp_fsm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'eigrpd') 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); } -- cgit v1.2.3