artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae328b7
)
KNF, fix long line.
author
claudio
<claudio@openbsd.org>
Mon, 20 Nov 2023 14:40:52 +0000
(14:40 +0000)
committer
claudio
<claudio@openbsd.org>
Mon, 20 Nov 2023 14:40:52 +0000
(14:40 +0000)
OK tb@
usr.sbin/bgpctl/bgpctl.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpctl/bgpctl.c
b/usr.sbin/bgpctl/bgpctl.c
index
ebfa0b4
..
f21346a
100644
(file)
--- a/
usr.sbin/bgpctl/bgpctl.c
+++ b/
usr.sbin/bgpctl/bgpctl.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: bgpctl.c,v 1.29
6 2023/09/06 09:52:26
claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.29
7 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));