summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-04-18 22:11:05 +0000
committerOndrej Filip <feela@network.cz>2000-04-18 22:11:05 +0000
commit85c92555efcd67d2671a8aef1bf7c3f4acc2b21d (patch)
tree4eb869cca47c216f3079cff45c1498be7380c83b
parent740d16d972d8e2accdb7a2f92048de302c9e966c (diff)
Grr, another patch to make it compile.
-rw-r--r--proto/ospf/lsupd.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index d10ee3e8..7eff7dfe 100644
--- a/proto/ospf/lsupd.c
+++ b/proto/ospf/lsupd.c
@@ -289,12 +289,16 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
DBG("PG143(5): Received LSA is newer\n");
/* pg 144 (5a) */
- if(lsadb && ((now-lsadb->inst_t)<MINLSARRIVAL)) continue;
+ if(lsadb && ((now-lsadb->inst_t)<MINLSARRIVAL))
+ {
+ DBG("I got it in less that MINLSARRIVAL\n");
+ continue;
+ }
if(flood_lsa(n,lsa,&lsatmp,po,ifa,ifa->oa)==0)
{
- DGB("Wasn't flooded back\n");
+ DBG("Wasn't flooded back\n");
if(ifa->state==OSPF_IS_BACKUP)
{
if(ifa->drid==n->rid) ospf_lsa_delay(n, lsa, p);