artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73fdc4
)
don't print the WELLKNOWN string for unknown well-known communities
author
phessler
<phessler@openbsd.org>
Mon, 26 Jun 2017 10:09:13 +0000
(10:09 +0000)
committer
phessler
<phessler@openbsd.org>
Mon, 26 Jun 2017 10:09:13 +0000
(10:09 +0000)
from Job Snijders
ok phessler@ benno@
usr.sbin/bgpctl/bgpctl.c
patch
|
blob
|
history
diff --git
a/usr.sbin/bgpctl/bgpctl.c
b/usr.sbin/bgpctl/bgpctl.c
index
55a5312
..
dd9969c
100644
(file)
--- a/
usr.sbin/bgpctl/bgpctl.c
+++ b/
usr.sbin/bgpctl/bgpctl.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: bgpctl.c,v 1.19
6 2017/06/26 10:05:57
phessler Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.19
7 2017/06/26 10:09:13
phessler Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@
-1551,7
+1551,7
@@
show_community(u_char *data, u_int16_t len)
printf("BLACKHOLE");
break;
default:
- printf("
WELLKNOWN:%hu"
, v);
+ printf("
%hu:%hu", a
, v);
break;
}
else