From 3b8b1bd03709d2fa2eab8ec81321717e3b58dcaf Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 9 May 2000 19:38:34 +0000 Subject: Better dumping. --- proto/ospf/rt.c | 3 +++ proto/ospf/topology.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'proto') 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; } } -- cgit v1.2.3