diff options
-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 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; } } |