summaryrefslogtreecommitdiff
path: root/proto/bgp/bgp.h
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2019-11-04 22:07:03 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2019-11-04 22:09:35 +0100
commita52476c9be41e8d33e4a22e3dc733240ce791b42 (patch)
treef702de3fa0fe9d48732c891bbe3da2147c02ef53 /proto/bgp/bgp.h
parent0edf0c8cd919a8b3fbf5bc036f27ea0b4ed0b91a (diff)
BGP: Add option to reject AS_SETs
There is a pending draft to make them obsolete
Diffstat (limited to 'proto/bgp/bgp.h')
-rw-r--r--proto/bgp/bgp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index d3e8f2ff..1270b8f3 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -107,6 +107,7 @@ struct bgp_config {
int interpret_communities; /* Hardwired handling of well-known communities */
int allow_local_as; /* Allow that number of local ASNs in incoming AS_PATHs */
int allow_local_pref; /* Allow LOCAL_PREF in EBGP sessions */
+ int allow_as_sets; /* Allow AS_SETs in incoming AS_PATHs */
int gr_mode; /* Graceful restart mode (BGP_GR_*) */
int llgr_mode; /* Long-lived graceful restart mode (BGP_LLGR_*) */
int setkey; /* Set MD5 password to system SA/SP database */