summaryrefslogtreecommitdiffstats
path: root/eigrpd/eigrp_reply.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-08-22 21:43:30 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-08-24 14:04:20 +0200
commit6118272f14f91ad4b315c6cd1ad13f4aa8e77a2d (patch)
tree3392fe3851f1edcd412e965374e4be183d23eedb /eigrpd/eigrp_reply.c
parenteigrpd: Fix memory leak in FSM (diff)
downloadfrr-6118272f14f91ad4b315c6cd1ad13f4aa8e77a2d.tar.xz
frr-6118272f14f91ad4b315c6cd1ad13f4aa8e77a2d.zip
eigrpd: Refactor FSM calling
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'eigrpd/eigrp_reply.c')
-rw-r--r--eigrpd/eigrp_reply.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/eigrpd/eigrp_reply.c b/eigrpd/eigrp_reply.c
index 4e909283d..7015413f5 100644
--- a/eigrpd/eigrp_reply.c
+++ b/eigrpd/eigrp_reply.c
@@ -242,8 +242,7 @@ void eigrp_reply_receive(struct eigrp *eigrp, struct ip *iph,
msg.data.ipv4_int_type = tlv;
msg.entry = entry;
msg.prefix = dest;
- int event = eigrp_get_fsm_event(&msg);
- eigrp_fsm_event(&msg, event);
+ eigrp_fsm_event(&msg);
eigrp_IPv4_InternalTLV_free(tlv);