summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-04 23:19:47 +0200
committerOndrej Filip <feela@network.cz>2004-06-04 23:19:47 +0200
commitc6bdc78befaf5ae9e5e3c58a8df1301d5cafd4e7 (patch)
treec76e1a1bdfc797462448147fd5df1c060da92886 /proto/ospf/neighbor.c
parent6f3203fabf30b0e5ca7d41b4550efbc5df0b421a (diff)
downloadbird-c6bdc78befaf5ae9e5e3c58a8df1301d5cafd4e7.tar
bird-c6bdc78befaf5ae9e5e3c58a8df1301d5cafd4e7.zip
Be more verbose.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index 885b0b8..44c8e4b 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -274,11 +274,11 @@ can_do_adj(struct ospf_neighbor *n)
void
ospf_neigh_sm(struct ospf_neighbor *n, int event)
{
- struct proto *p=(struct proto *)(n->ifa->proto);
struct proto_ospf *po=n->ifa->proto;
+ struct proto *p=(struct proto *)po;
- DBG("%s: Neighbor state machine for neighbor %I, event \"%s\".\n",
- p->name, n->rid, ospf_inm[event]);
+ OSPF_TRACE(D_EVENTS, "Neighbor state machine for neighbor %I, event \"%s\".",
+ n->ip, ospf_inm[event]);
switch(event)
{