eigrpd: dead code (Coverity 1460436)

Signed-off-by: F. Aragon <paco@voltanet.io>
This commit is contained in:
F. Aragon 2018-10-02 10:46:20 +02:00
parent 2268d8cfe7
commit 11b88ecf7e
No known key found for this signature in database
GPG Key ID: FD112A8C7E6A5E4A

View File

@ -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)