summaryrefslogtreecommitdiff
path: root/ripngd/ripng_interface.c
diff options
context:
space:
mode:
authorSri Mohana Singamsetty <srimohans@gmail.com>2019-03-15 10:27:54 -0700
committerGitHub <noreply@github.com>2019-03-15 10:27:54 -0700
commit61be0e35f2e70a926b752181fd9978ea3d98a5aa (patch)
treefae9c112299282a24d1f9a803bbd81e14c1d79b3 /ripngd/ripng_interface.c
parentf05d8880492312e5ca79dfd6eb174d066ff07eb9 (diff)
parent9165c5f5ff9586e4688b3cbac265d3593f1231cc (diff)
Merge pull request #3949 from qlyoung/remove-zlog-newlines
*: remove trailing newlines from zlog messages
Diffstat (limited to 'ripngd/ripng_interface.c')
-rw-r--r--ripngd/ripng_interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ripngd/ripng_interface.c b/ripngd/ripng_interface.c
index e5dc6e6af6..ea32b622a6 100644
--- a/ripngd/ripng_interface.c
+++ b/ripngd/ripng_interface.c
@@ -90,7 +90,7 @@ static int ripng_multicast_join(struct interface *ifp)
* group on
* an interface that has just gone down.
*/
- zlog_warn("ripng join on %s EADDRINUSE (ignoring)\n",
+ zlog_warn("ripng join on %s EADDRINUSE (ignoring)",
ifp->name);
return 0; /* not an error */
}
@@ -124,7 +124,7 @@ static int ripng_multicast_leave(struct interface *ifp)
ret = setsockopt(ripng->sock, IPPROTO_IPV6, IPV6_LEAVE_GROUP,
(char *)&mreq, sizeof(mreq));
if (ret < 0)
- zlog_warn("can't setsockopt IPV6_LEAVE_GROUP: %s\n",
+ zlog_warn("can't setsockopt IPV6_LEAVE_GROUP: %s",
safe_strerror(errno));
if (IS_RIPNG_DEBUG_EVENT)