summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2006-01-07 14:50:28 +0000
committerclaudio <claudio@openbsd.org>2006-01-07 14:50:28 +0000
commit8bcd523a82f26abcfd4aafdf8d3fa86f08aef5e7 (patch)
tree9709b40c6bd62f4924976913c73de1e6c5f969b4
parentRemove #ifdef'ed out prototypes for previously removed #ifdef'ed out code. (diff)
downloadwireguard-openbsd-8bcd523a82f26abcfd4aafdf8d3fa86f08aef5e7.tar.xz
wireguard-openbsd-8bcd523a82f26abcfd4aafdf8d3fa86f08aef5e7.zip
Add COMMUNITY_NO_PEER to the list of known wellknown communities else it
is not possible to use NO_PEER as community in the config.
-rw-r--r--usr.sbin/bgpd/parse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index ca429151455..b0d61b5260e 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.177 2005/11/29 16:01:00 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.178 2006/01/07 14:50:28 claudio Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1435,6 +1435,7 @@ filter_set_opt : LOCALPREF number {
case COMMUNITY_NO_EXPORT:
case COMMUNITY_NO_ADVERTISE:
case COMMUNITY_NO_EXPSUBCONFED:
+ case COMMUNITY_NO_PEER:
/* valid */
break;
default: