summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpctl
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-11-20 14:40:53 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-11-20 14:40:53 +0000
commit825c08b874030ad284ae407d076144b11d5c96fd (patch)
treecdea85b1c39af3b942a6b1d651a7538d27e06aaf /usr.sbin/bgpctl
parent5865528100d662b1db9987010abd2a9b28c3fa69 (diff)
KNF, fix long line.
OK tb@
Diffstat (limited to 'usr.sbin/bgpctl')
-rw-r--r--usr.sbin/bgpctl/bgpctl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index ebfa0b4a60b..f21346a65f7 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.296 2023/09/06 09:52:26 claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.297 2023/11/20 14:40:52 claudio Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -1807,7 +1807,8 @@ show_mrt_update(u_char *p, uint16_t len, int reqflags, int addpath)
while (len > 0) {
if (addpath) {
if (len <= sizeof(pathid)) {
- printf(" bad nlri prefix: pathid, len %d", len);
+ printf(" bad nlri prefix: pathid, "
+ "len %d", len);
return;
}
memcpy(&pathid, p, sizeof(pathid));