eigrpd: Remove unnecessary check

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2017-08-22 14:42:43 -04:00
parent cd04424793
commit c1c32a7803

View File

@ -315,9 +315,7 @@ int eigrp_if_up(struct eigrp_interface *ei)
eigrp_neighbor_entry_add(pe, ne);
for (ALL_LIST_ELEMENTS(eigrp->eiflist, node, nnode, ei2)) {
if (ei2->nbrs->count != 0) {
eigrp_update_send(ei2);
}
eigrp_update_send(ei2);
}
pe->req_action &= ~EIGRP_FSM_NEED_UPDATE;