summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpctl/parser.c
diff options
context:
space:
mode:
authorphessler <phessler@openbsd.org>2017-06-26 10:08:06 +0000
committerphessler <phessler@openbsd.org>2017-06-26 10:08:06 +0000
commitc73fdc4a1214a0063f035af6a39fbb97de7f52fb (patch)
tree290627e4796404ef9897554a64f85910e7551448 /usr.sbin/bgpctl/parser.c
parentadd support for the "graceful shutdown" well-known community as described (diff)
downloadwireguard-openbsd-c73fdc4a1214a0063f035af6a39fbb97de7f52fb.tar.xz
wireguard-openbsd-c73fdc4a1214a0063f035af6a39fbb97de7f52fb.zip
let admins set an unknown well-known community
from Job Snijders ok phessler@ benno@
Diffstat (limited to 'usr.sbin/bgpctl/parser.c')
-rw-r--r--usr.sbin/bgpctl/parser.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c
index 1020afeb6ff..a52d281f8c9 100644
--- a/usr.sbin/bgpctl/parser.c
+++ b/usr.sbin/bgpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.78 2017/06/26 10:05:57 phessler Exp $ */
+/* $OpenBSD: parser.c,v 1.79 2017/06/26 10:08:06 phessler Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -999,10 +999,6 @@ done:
case COMMUNITY_BLACKHOLE:
/* valid */
break;
- default:
- /* unknown */
- fprintf(stderr, "Unknown well-known community\n");
- return (0);
}
if ((fs = calloc(1, sizeof(struct filter_set))) == NULL)