summaryrefslogtreecommitdiffstats
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-05-09 21:38:34 +0200
committerOndrej Filip <feela@network.cz>2000-05-09 21:38:34 +0200
commit3b8b1bd03709d2fa2eab8ec81321717e3b58dcaf (patch)
treead73cdea8b4c94f561c3ab8f3a00fbbc5631adcd /proto/ospf
parenta3ae6246c29ecceefc1e867c7b5f73a5b3c857c9 (diff)
downloadbird-3b8b1bd03709d2fa2eab8ec81321717e3b58dcaf.tar
bird-3b8b1bd03709d2fa2eab8ec81321717e3b58dcaf.zip
Better dumping.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/rt.c3
-rw-r--r--proto/ospf/topology.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c
index af1015c..2ce93d1 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 2fc74d4..f2a67e6 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;
}
}