summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
diff options
context:
space:
mode:
authorjob <job@cvs.openbsd.org>2017-10-16 08:39:17 +0000
committerjob <job@cvs.openbsd.org>2017-10-16 08:39:17 +0000
commita669fadbe7851326c6be4a897d26de369a70abba (patch)
tree850c9754711d502e44b01270a6562afa532cb495 /usr.sbin/bgpctl
parent953fade1239ddddd9e112d513bee0ab49319a407 (diff)
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;