summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsupd.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-02 15:27:34 +0200
committerOndrej Filip <feela@network.cz>2000-06-02 15:27:34 +0200
commite4ba0ec1977e9925ec67f9442067e5ff7cb36111 (patch)
treefcc617261795892ab7554d4090ee60c59bd811c3 /proto/ospf/lsupd.c
parent9a8f20fc0fda1cf910fe8ca21e850ab1524c4355 (diff)
downloadbird-e4ba0ec1977e9925ec67f9442067e5ff7cb36111.tar
bird-e4ba0ec1977e9925ec67f9442067e5ff7cb36111.zip
Bugfix in receiving of aged LSA.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r--proto/ospf/lsupd.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index 768b837..f38ae33 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;