From 82364f4db8fff969932989bfcc5be89c73b15174 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Wed, 31 May 2000 15:24:29 +0000 Subject: Flood my LSA (if exists) after old one is flushed. --- proto/ospf/lsupd.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'proto') diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index 9eed7e5..b9c26d2 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -356,12 +356,18 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p, if(self) { + struct top_hash_entry *en; + lsa->age=(htons(LSA_MAXAGE)); lsatmp.age=LSA_MAXAGE; debug("%s: Premature aging self originated lsa.\n",p->name); debug("%s: Type: %d, Id: %I, Rt: %I\n", p->name, lsatmp.type, lsatmp.id, lsatmp.rt); flood_lsa(NULL,lsa,&lsatmp,po,NULL,oa,0); + if(en=ospf_hash_find_header(oa->gr,&lsatmp)) + { + flood_lsa(NULL,NULL,&en->lsa,po,NULL,oa,1); + } continue; } -- cgit v1.2.3