summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'eigrpd/eigrp_query.c')
-rw-r--r--eigrpd/eigrp_query.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/eigrpd/eigrp_query.c b/eigrpd/eigrp_query.c
index dd4231fa00..84dcf5e2d5 100644
--- a/eigrpd/eigrp_query.c
+++ b/eigrpd/eigrp_query.c
@@ -235,11 +235,8 @@ void eigrp_send_query(struct eigrp_interface *ei)
}
}
- if (!has_tlv) {
- if (ep)
- eigrp_packet_free(ep);
+ if (!has_tlv)
return;
- }
if ((ei->params.auth_type == EIGRP_AUTH_TYPE_MD5)
&& ei->params.auth_keychain != NULL)