mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
Better dumping.
This commit is contained in:
parent
a3ae6246c2
commit
3b8b1bd037
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user