summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpctl
diff options
context:
space:
mode:
authorjob <job@openbsd.org>2017-10-16 08:39:16 +0000
committerjob <job@openbsd.org>2017-10-16 08:39:16 +0000
commit45e49fc5b250cda98e270d255fdf7db03f68fd9e (patch)
tree220fb23d4f8804f8e77149f4e0f251d8e6b519fc /usr.sbin/bgpctl
parentLast changes before running IPsec w/o KERNEL_LOCK(). (diff)
downloadwireguard-openbsd-45e49fc5b250cda98e270d255fdf7db03f68fd9e.tar.xz
wireguard-openbsd-45e49fc5b250cda98e270d255fdf7db03f68fd9e.zip
Ensure last character in ssv mode is a newline
OK benno@
Diffstat (limited to 'usr.sbin/bgpctl')
-rw-r--r--usr.sbin/bgpctl/bgpctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index 994d25e59af..177e00e00a7 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.200 2017/10/15 20:44:21 deraadt Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.201 2017/10/16 08:39:16 job Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -1359,7 +1359,7 @@ show_rib_detail_msg(struct imsg *imsg, int nodescr, int flag0)
show_attr(imsg->data, ilen, flag0);
break;
case IMSG_CTL_END:
- printf("%c", EOL0(flag0));
+ printf("\n");
return (1);
default:
break;