From: Ondrej Filip Date: Fri, 2 Jun 2000 13:27:34 +0000 (+0000) Subject: Bugfix in receiving of aged LSA. X-Git-Tag: v1.2.0~701 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4ba0ec1977e9925ec67f9442067e5ff7cb36111;p=thirdparty%2Fbird.git Bugfix in receiving of aged LSA. --- diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index 768b837f5..f38ae338c 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -318,14 +318,7 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p, int flag=0; struct ospf_iface *ifatmp; - WALK_LIST(NODE ifatmp,po->iface_list) - WALK_LIST(NODE ntmp,ifatmp->neigh_list) - if((ntmp->state==NEIGHBOR_EXCHANGE)&& - (ntmp->state==NEIGHBOR_LOADING)) - flag=1; - DBG("PG143(4): Flag=%u\n",flag); - - if(flag==0) + if(can_flush_lsa(oa)) { ospf_lsack_direct_tx(n,lsa); continue;