summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-06-04 21:56:06 +0200
committerMartin Mares <mj@ucw.cz>2000-06-04 21:56:06 +0200
commitdf49d4e14b7c24f8ca958870fd1e9ddc84df1f1b (patch)
treecb5c1211db86aae3848564814fb048c101960d82 /proto/ospf/neighbor.c
parent201187c55837587d8f88775cd957d9c8e423c254 (diff)
downloadbird-df49d4e14b7c24f8ca958870fd1e9ddc84df1f1b.tar
bird-df49d4e14b7c24f8ca958870fd1e9ddc84df1f1b.zip
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/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 3590504..9e04bac 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -249,7 +249,7 @@ ospf_neigh_sm(struct ospf_neighbor *n, int event)
tm_start(n->lsrr_timer,n->ifa->rxmtint);
tm_start(n->ackd_timer,n->ifa->rxmtint/2);
}
- else die("NEGDONE and I'm not in EXSTART?\n");
+ else die("NEGDONE and I'm not in EXSTART?");
break;
case INM_EXDONE:
neigh_chstate(n,NEIGHBOR_LOADING);
@@ -358,7 +358,7 @@ bdr_election(struct ospf_iface *ifa, struct proto *p)
else
{
if((tmp=find_neigh(ifa,ndrid))==NULL)
- die("Error in DR election.\n");
+ die("Error in DR election.");
ifa->drid=ndrid;
ifa->drip=tmp->ip;
}
@@ -371,7 +371,7 @@ bdr_election(struct ospf_iface *ifa, struct proto *p)
else
{
if((tmp=find_neigh(ifa,nbdrid))==NULL)
- die("Error in BDR election.\n");
+ die("Error in BDR election.");
ifa->bdrid=nbdrid;
ifa->bdrip=tmp->ip;
}