diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-22 21:43:30 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-08-24 14:04:20 +0200 |
commit | 6118272f14f91ad4b315c6cd1ad13f4aa8e77a2d (patch) | |
tree | 3392fe3851f1edcd412e965374e4be183d23eedb /eigrpd/eigrp_reply.c | |
parent | eigrpd: Fix memory leak in FSM (diff) | |
download | frr-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.c | 3 |
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); |