diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-09-09 13:32:50 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-09-09 13:32:50 +0200 |
commit | 8525d7104e9615eeebdf14d20eb376ccda86c937 (patch) | |
tree | b81fd6d9689f95612aad5fa5d35da17477488ac1 /proto | |
parent | 1657c41c96b3c07d9265b07dd4912033ead4124b (diff) |
BGP: Fix handling of bgp_aggregator atttribute
The attribute should not be modifiable by filters as we do not
support its type.
Diffstat (limited to 'proto')
-rw-r--r-- | proto/bgp/config.Y | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/config.Y b/proto/bgp/config.Y index 95ceccb5..033fb9ef 100644 --- a/proto/bgp/config.Y +++ b/proto/bgp/config.Y @@ -188,7 +188,7 @@ CF_ADDTO(dynamic_attr, BGP_LOCAL_PREF CF_ADDTO(dynamic_attr, BGP_ATOMIC_AGGR { $$ = f_new_dynamic_attr(EAF_TYPE_OPAQUE, T_ENUM_EMPTY, EA_CODE(EAP_BGP, BA_ATOMIC_AGGR)); }) CF_ADDTO(dynamic_attr, BGP_AGGREGATOR - { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_INT, EA_CODE(EAP_BGP, BA_AGGREGATOR)); }) + { $$ = f_new_dynamic_attr(EAF_TYPE_OPAQUE, T_ENUM_EMPTY, EA_CODE(EAP_BGP, BA_AGGREGATOR)); }) CF_ADDTO(dynamic_attr, BGP_COMMUNITY { $$ = f_new_dynamic_attr(EAF_TYPE_INT_SET, T_CLIST, EA_CODE(EAP_BGP, BA_COMMUNITY)); }) CF_ADDTO(dynamic_attr, BGP_ORIGINATOR_ID |