summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_clist.h
diff options
context:
space:
mode:
authorhasso <hasso>2005-02-02 17:29:31 +0100
committerhasso <hasso>2005-02-02 17:29:31 +0100
commitfee6e4e4547783b915838f6868d6cd694f6cee21 (patch)
tree2fb39322113433ab2d5e42042c1b9e397779b6c1 /bgpd/bgp_clist.h
parent * bgp_route.c, bgp_vty.c, bgp_zebra.c, bgpd.[ch]: "enforce-multihop" (diff)
downloadfrr-fee6e4e4547783b915838f6868d6cd694f6cee21.tar.xz
frr-fee6e4e4547783b915838f6868d6cd694f6cee21.zip
* bgp_clist.[ch], bgp_route.c, bgp_routemap.c, bgp_vty.c:
community-list cleanup. [merge from GNU Zebra]
Diffstat (limited to 'bgpd/bgp_clist.h')
-rw-r--r--bgpd/bgp_clist.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/bgpd/bgp_clist.h b/bgpd/bgp_clist.h
index 11db2d712..6f1faf0b7 100644
--- a/bgpd/bgp_clist.h
+++ b/bgpd/bgp_clist.h
@@ -18,6 +18,10 @@ along with GNU Zebra; see the file COPYING. If not, write to the Free
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+/* Master Community-list. */
+#define COMMUNITY_LIST_MASTER 0
+#define EXTCOMMUNITY_LIST_MASTER 1
+
/* Community-list deny and permit. */
#define COMMUNITY_DENY 0
#define COMMUNITY_PERMIT 1
@@ -29,10 +33,8 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
/* Community-list entry types. */
#define COMMUNITY_LIST_STANDARD 0 /* Standard community-list. */
#define COMMUNITY_LIST_EXPANDED 1 /* Expanded community-list. */
-#define COMMUNITY_LIST_AUTO 2 /* Automatically detected. */
-#define EXTCOMMUNITY_LIST_STANDARD 3 /* Standard extcommunity-list. */
-#define EXTCOMMUNITY_LIST_EXPANDED 4 /* Expanded extcommunity-list. */
-#define EXTCOMMUNITY_LIST_AUTO 5 /* Automatically detected. */
+#define EXTCOMMUNITY_LIST_STANDARD 2 /* Standard extcommunity-list. */
+#define EXTCOMMUNITY_LIST_EXPANDED 3 /* Expanded extcommunity-list. */
/* Community-list. */
struct community_list