]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Better dumping.
authorOndrej Filip <feela@network.cz>
Tue, 9 May 2000 19:38:34 +0000 (19:38 +0000)
committerOndrej Filip <feela@network.cz>
Tue, 9 May 2000 19:38:34 +0000 (19:38 +0000)
proto/ospf/rt.c
proto/ospf/topology.c

index af1015c29d8c0a6833b69477f7464121f158f76e..2ce93d1d2313e51563e391471cc2c426a0613bd0 100644 (file)
@@ -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)
index 2fc74d4d1b959abe4ba11ca05a100e834f301c3b..f2a67e6c11df63c902085b185dfb806184f5538c 100644 (file)
@@ -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;
        }
     }