summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2007-05-28 17:26:34 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2007-05-28 17:26:34 +0000
commit36c39afaad2c7b0623942a2dfd1de71415e8f152 (patch)
treee9efb7384e5689abb9439e047984f8487a15ccd6 /usr.sbin/bgpd/bgpd.h
parenta9414e98d077bb8e241d60f0c3c02855f006ac95 (diff)
allow matching on communities using 0 in the AS part, that is in use.
that unfortunately means we cannot use 0 for "unset". ok claudio
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index 1de46da0585..e68859c11ac 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.217 2007/05/15 14:35:30 claudio Exp $ */
+/* $OpenBSD: bgpd.h,v 1.218 2007/05/28 17:26:33 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -594,6 +594,7 @@ struct filter_peers {
#define COMMUNITY_ERROR -1
#define COMMUNITY_ANY -2
#define COMMUNITY_NEIGHBOR_AS -3
+#define COMMUNITY_UNSET -4
#define COMMUNITY_WELLKNOWN 0xffff
#define COMMUNITY_NO_EXPORT 0xff01
#define COMMUNITY_NO_ADVERTISE 0xff02