From: Ondrej Filip Date: Fri, 4 Jun 2004 21:19:47 +0000 (+0000) Subject: Be more verbose. X-Git-Tag: v1.2.0~333 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6bdc78befaf5ae9e5e3c58a8df1301d5cafd4e7;p=thirdparty%2Fbird.git Be more verbose. --- diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c index 885b0b89d..44c8e4b0d 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) {