summaryrefslogtreecommitdiff
path: root/proto/ospf/hello.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-04 19:56:06 +0000
committerMartin Mares <mj@ucw.cz>2000-06-04 19:56:06 +0000
commitdf49d4e14b7c24f8ca958870fd1e9ddc84df1f1b (patch)
treecb5c1211db86aae3848564814fb048c101960d82 /proto/ospf/hello.c
parent201187c55837587d8f88775cd957d9c8e423c254 (diff)
Removed lots of trailing newlines in log messages.
Please note that the only calls which don't add newlines automatically (i.e., don't print a full line of output) are debug() and DBG().
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r--proto/ospf/hello.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c
index 18e15618..3e4bfff5 100644
--- a/proto/ospf/hello.c
+++ b/proto/ospf/hello.c
@@ -62,32 +62,32 @@ ospf_hello_rx(struct ospf_hello_packet *ps, struct proto *p,
if((unsigned)ipa_mklen(ipa_ntoh(ps->netmask))!=ifa->iface->addr->pxlen)
{
- log("%s%s%I%s%Ibad netmask %I.\n", p->name, beg, nrid, rec,
+ log("%s%s%I%s%Ibad netmask %I.", p->name, beg, nrid, rec,
ipa_ntoh(ps->netmask));
return;
}
if(ntohs(ps->helloint)!=ifa->helloint)
{
- log("%s%s%I%shello interval mismatch.\n", p->name, beg, faddr, rec);
+ log("%s%s%I%shello interval mismatch.", p->name, beg, faddr, rec);
return;
}
if(ntohl(ps->deadint)!=ifa->helloint*ifa->deadc)
{
- log("%s%s%I%sdead interval mismatch.\n", p->name, beg, faddr, rec);
+ log("%s%s%I%sdead interval mismatch.", p->name, beg, faddr, rec);
return;
}
if(ps->options!=ifa->options)
{
- log("%s%s%I%soptions mismatch.\n", p->name, beg, faddr, rec);
+ log("%s%s%I%soptions mismatch.", p->name, beg, faddr, rec);
return;
}
if((n=find_neigh(ifa, nrid))==NULL)
{
- debug("%s: New neighbor found: %I on %s.\n", p->name,faddr,
+ debug("%s: New neighbor found: %I on %s.", p->name,faddr,
ifa->iface->name);
n=mb_allocz(p->pool, sizeof(struct ospf_neighbor));
add_tail(&ifa->neigh_list, NODE n);