diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-02 19:55:55 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-02 19:55:55 +0000 |
commit | b36a0a799c751864f65bc3384df301448b54f3bf (patch) | |
tree | 4aee12f80b50dee4c5e00ffb7bf6249a45f54990 /proto/ospf/lsupd.c | |
parent | 7e602d5ea74206236373230a4620736370b3cc9c (diff) |
area {} added to config.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r-- | proto/ospf/lsupd.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index 42f44c92..090be1d6 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)) |