From 23d6702952841184d364a5520dbe6be7a1a5d14b Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Sun, 11 Jan 2009 12:14:27 +0100 Subject: Some fixes and update of OSPF debug messages --- proto/ospf/neighbor.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'proto/ospf/neighbor.c') 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; -- cgit v1.2.3