]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Be more verbose.
authorOndrej Filip <feela@network.cz>
Fri, 4 Jun 2004 21:19:47 +0000 (21:19 +0000)
committerOndrej Filip <feela@network.cz>
Fri, 4 Jun 2004 21:19:47 +0000 (21:19 +0000)
proto/ospf/neighbor.c

index 885b0b89ddad13e191bb701a5038ef072732ec3e..44c8e4b0d7fa89ac9dac3c245f6aaf37ac0316d5 100644 (file)
@@ -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)
   {