Commit e4ba0ec1 authored by Ondřej Filip's avatar Ondřej Filip

Bugfix in receiving of aged LSA.

parent 9a8f20fc
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment