summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsupd.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-06-02 21:55:55 +0200
committerOndrej Filip <feela@network.cz>2000-06-02 21:55:55 +0200
commitb36a0a799c751864f65bc3384df301448b54f3bf (patch)
tree4aee12f80b50dee4c5e00ffb7bf6249a45f54990 /proto/ospf/lsupd.c
parent7e602d5ea74206236373230a4620736370b3cc9c (diff)
downloadbird-b36a0a799c751864f65bc3384df301448b54f3bf.tar
bird-b36a0a799c751864f65bc3384df301448b54f3bf.zip
area {} added to config.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r--proto/ospf/lsupd.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c
index 42f44c9..090be1d 100644
--- a/proto/ospf/lsupd.c
+++ b/proto/ospf/lsupd.c
@@ -308,9 +308,14 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p,
continue;
}
ntohlsah(lsa,&lsatmp);
- DBG("Processing update Type: %u ID: %I RT: %I, Sn: 0x%08x\n",lsatmp.type,
- lsatmp.id, lsatmp.rt, lsatmp.sn);
+ debug("Update Type: %u ID: %I RT: %I, Sn: 0x%08x Age: %u, Sum: %u\n",
+ lsatmp.type, lsatmp.id, lsatmp.rt, lsatmp.sn, lsatmp.age,
+ lsatmp.checksum);
lsadb=ospf_hash_find_header(oa->gr, &lsatmp);
+ if(lsadb)
+ debug("I have Type: %u ID: %I RT: %I, Sn: 0x%08x Age: %u, Sum: %u\n",
+ lsadb->lsa.type, lsadb->lsa.id, lsadb->lsa.rt, lsadb->lsa.sn,
+ lsadb->lsa.age, lsadb->lsa.checksum);
/* pg 143 (4) */
if((lsatmp.age==LSA_MAXAGE)&&(lsadb==NULL))