Bugfix in receiving of aged LSA.
This commit is contained in:
parent
9a8f20fc0f
commit
e4ba0ec197
1 changed files with 1 additions and 8 deletions
|
@ -318,14 +318,7 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
|
||||||
int flag=0;
|
int flag=0;
|
||||||
struct ospf_iface *ifatmp;
|
struct ospf_iface *ifatmp;
|
||||||
|
|
||||||
WALK_LIST(NODE ifatmp,po->iface_list)
|
if(can_flush_lsa(oa))
|
||||||
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)
|
|
||||||
{
|
{
|
||||||
ospf_lsack_direct_tx(n,lsa);
|
ospf_lsack_direct_tx(n,lsa);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue