diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-10-26 14:56:52 +0300 | 
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-10-27 14:27:02 +0300 | 
| commit | 322462920e2a2c8b73191c6eb5157d64cf4a593e (patch) | |
| tree | 3952cee0df0fc1cf1c28675535385f823bb4589c /bgpd/bgpd.h | |
| parent | 26d0f530a39d968d49da3287515705a5bac1577d (diff) | |
bgpd: Enable `enforce-first-as` by default
It's been for a while disabled by default, but this seems reasonable to flip it.
We had `bgp enforce-first-as` as a global BGP knob to enable/disable this
behavior globally, later we introduced `enforce-first-as` per neighbor, with disabled
by default. Now let's enable this by default by bringing a global `bgp enforce-first-as`
command back.
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgpd.h')
| -rw-r--r-- | bgpd/bgpd.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index 42e4c167f6..bfaa2e5d72 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -516,6 +516,7 @@ struct bgp {  /* For BGP-LU, force IPv6 local prefixes to use ipv6-explicit-null label */  #define BGP_FLAG_LU_IPV6_EXPLICIT_NULL (1ULL << 34)  #define BGP_FLAG_SOFT_VERSION_CAPABILITY (1ULL << 35) +#define BGP_FLAG_ENFORCE_FIRST_AS (1ULL << 36)  	/* BGP default address-families.  	 * New peers inherit enabled afi/safis from bgp instance.  | 
