diff options
author | Ondrej Filip <feela@network.cz> | 2000-05-09 14:03:57 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-05-09 14:03:57 +0200 |
commit | 432996f40fceb58cd5ee5026eb4f7018ef6af1ef (patch) | |
tree | a299548fb03f0d6cef510a692db62bf4f06fcb83 | |
parent | 54ac9d2e03c6ae44b4e183c9bcf963196218c477 (diff) | |
download | bird-432996f40fceb58cd5ee5026eb4f7018ef6af1ef.tar bird-432996f40fceb58cd5ee5026eb4f7018ef6af1ef.zip |
Better dumping.
-rw-r--r-- | proto/ospf/ospf.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index ef9c576..3b4af4f 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -35,11 +35,11 @@ ospf_dump(struct proto *p) { debug("%s: Interface: %s\n", p->name, ifa->iface->name); debug("%s: state: %u\n", p->name, ifa->state); - debug("%s: DR: %u\n", p->name, ifa->drid); - debug("%s: BDR: %u\n", p->name, ifa->bdrid); + debug("%s: DR: %I\n", p->name, ifa->drid); + debug("%s: BDR: %I\n", p->name, ifa->bdrid); 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); } neigh_dump_all(); - } static struct proto * |