diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-09 19:38:34 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-09 19:38:34 +0000 |
commit | 3b8b1bd03709d2fa2eab8ec81321717e3b58dcaf (patch) | |
tree | ad73cdea8b4c94f561c3ab8f3a00fbbc5631adcd /proto/ospf | |
parent | a3ae6246c29ecceefc1e867c7b5f73a5b3c857c9 (diff) |
Better dumping.
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/rt.c | 3 | ||||
-rw-r--r-- | proto/ospf/topology.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index af1015c2..2ce93d1d 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -34,6 +34,9 @@ ospf_rt_spfa(struct ospf_area *oa) struct fib_iterator fit; struct ospf_lsa_net *ln; + debug("%s: Starting routing table calculation for area %I\n",p->name, + oa->areaid); + flush=can_flush_lsa(oa); if((delta=now-oa->lage)>=AGINGDELTA) diff --git a/proto/ospf/topology.c b/proto/ospf/topology.c index 2fc74d4d..f2a67e6c 100644 --- a/proto/ospf/topology.c +++ b/proto/ospf/topology.c @@ -504,8 +504,8 @@ ospf_top_dump(struct top_graph *f) struct top_hash_entry *e = f->hash_table[i]; while (e) { - debug("\t%01x %08I %08I %p\n", e->lsa.type, e->lsa.id, - e->lsa.rt, e->lsa_body); + debug("\t%1x %8I %8I %4u 0x%08x\n", e->lsa.type, e->lsa.id, + e->lsa.rt, e->lsa.age, e->lsa.sn); e = e->next; } } |