Better dumping.
This commit is contained in:
parent
54ac9d2e03
commit
432996f40f
1 changed files with 3 additions and 4 deletions
|
@ -35,11 +35,11 @@ ospf_dump(struct proto *p)
|
||||||
{
|
{
|
||||||
debug("%s: Interface: %s\n", p->name, ifa->iface->name);
|
debug("%s: Interface: %s\n", p->name, ifa->iface->name);
|
||||||
debug("%s: state: %u\n", p->name, ifa->state);
|
debug("%s: state: %u\n", p->name, ifa->state);
|
||||||
debug("%s: DR: %u\n", p->name, ifa->drid);
|
debug("%s: DR: %I\n", p->name, ifa->drid);
|
||||||
debug("%s: BDR: %u\n", p->name, ifa->bdrid);
|
debug("%s: BDR: %I\n", p->name, ifa->bdrid);
|
||||||
WALK_LIST(n, ifa->neigh_list)
|
WALK_LIST(n, ifa->neigh_list)
|
||||||
{
|
{
|
||||||
debug("%s: neighbor %u in state %u\n", p->name, n->rid, n->state);
|
debug("%s: neighbor %I in state %u\n", p->name, n->rid, n->state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,7 +51,6 @@ ospf_dump(struct proto *p)
|
||||||
oa->areaid);
|
oa->areaid);
|
||||||
}
|
}
|
||||||
neigh_dump_all();
|
neigh_dump_all();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct proto *
|
static struct proto *
|
||||||
|
|
Loading…
Reference in a new issue