summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_clist.h
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_clist.h')
-rw-r--r--bgpd/bgp_clist.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bgpd/bgp_clist.h b/bgpd/bgp_clist.h
index 29bd880c..7f35a6d5 100644
--- a/bgpd/bgp_clist.h
+++ b/bgpd/bgp_clist.h
@@ -20,6 +20,10 @@
/* Number and string based community-list name. */
#define COMMUNITY_LIST_STRING 0
#define COMMUNITY_LIST_NUMBER 1
+/* The numbered community-list (including large/ext communities)
+ * have a range between 1-500.
+ */
+#define COMMUNITY_LIST_NUMBER_MAX 500
#define COMMUNITY_SEQ_NUMBER_AUTO -1