diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2009-01-11 12:14:27 +0100 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2009-01-11 12:14:27 +0100 |
commit | 23d6702952841184d364a5520dbe6be7a1a5d14b (patch) | |
tree | 5172dc8ef03cfdbbc610442b6a8033beac198cdb /proto/ospf/neighbor.c | |
parent | 0e9617e400d54f6f5119a24e7380b7719c2fc3dd (diff) |
Some fixes and update of OSPF debug messages
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r-- | proto/ospf/neighbor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index 7696d45e..b904874d 100644 --- a/proto/ospf/neighbor.c +++ b/proto/ospf/neighbor.c @@ -293,7 +293,7 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event) struct proto_ospf *po = n->ifa->oa->po; struct proto *p = &po->proto; - DBG("Neighbor state machine for neighbor %I, event \"%s\".", n->ip, + DBG("Neighbor state machine for neighbor %I, event '%s'\n", n->ip, ospf_inm[event]); switch (event) @@ -600,10 +600,11 @@ void rxmt_timer_hook(timer * timer) { struct ospf_neighbor *n = (struct ospf_neighbor *) timer->data; + struct proto *p = &n->ifa->oa->po->proto; struct top_hash_entry *en; DBG("%s: RXMT timer fired on interface %s for neigh: %I.\n", - p->name, ifa->iface->name, n->ip); + p->name, n->ifa->iface->name, n->ip); if(n->state < NEIGHBOR_EXSTART) return; |