summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-09-03 16:16:33 +0000
committerOndrej Filip <feela@network.cz>2000-09-03 16:16:33 +0000
commit1e972b5524ff1ad28f4013632253a851c3559fc9 (patch)
treec1e26af4fef7a79dc2f4637767d0fb951064775d /proto/ospf
parent76460860ece8ce43a42da7cb2342e57f553b646c (diff)
Log some unusual situation.
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/hello.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c
index 11f3c6fb..b87b5ca6 100644
--- a/proto/ospf/hello.c
+++ b/proto/ospf/hello.c
@@ -113,7 +113,7 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p,
}
if((found==0)&&(ifa->strictnbma))
{
- OSPF_TRACE(D_EVENTS, "Ignoring new neighbor: %I on %s.", faddr,
+ log("%s: Ignoring new neighbor: %I on %s.", p->name, faddr,
ifa->iface->name);
return;
}
@@ -122,7 +122,7 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p,
eligible=nn->eligible;
if(((ps->priority==0)&&eligible)||((ps->priority>0)&&(eligible==0)))
{
- OSPF_TRACE(D_EVENTS, "Eligibility mismatch for neighbor: %I on %s",
+ log("%s: Eligibility mismatch for neighbor: %I on %s", p->name,
faddr, ifa->iface->name);
return;
}