diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-05 02:23:20 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-05 02:23:20 +0000 |
commit | 273fd2c16475d3d1275a4fe17443c3ba2b93fbc4 (patch) | |
tree | 20e359ed2d2bfa79cf2acac2a8bbaeedde6116be /proto/ospf/lsupd.c | |
parent | 2d37d36c676e16b92ac38a60d3c269efeeaf07ac (diff) |
Many bugfixes (I don't remember all of them):
Added link ID calculation for external routes with same prefix but
different mask.
Bugfix in NET lsa origination.
Bugfix in NET hashing.
Bugfix in LSA installing.
Diffstat (limited to 'proto/ospf/lsupd.c')
-rw-r--r-- | proto/ospf/lsupd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/lsupd.c b/proto/ospf/lsupd.c index 974c9716..2b94b60d 100644 --- a/proto/ospf/lsupd.c +++ b/proto/ospf/lsupd.c @@ -308,12 +308,12 @@ ospf_lsupd_rx(struct ospf_lsupd_packet *ps, struct proto *p, continue; } ntohlsah(lsa,&lsatmp); - debug("Update Type: %u ID: %I RT: %I, Sn: 0x%08x Age: %u, Sum: %u\n", + DBG("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", + DBG("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); |