diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-09-09 13:17:30 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2019-09-09 13:17:30 +0200 |
commit | 1127887a8b111dab18c592f1f3f575920f38bfe3 (patch) | |
tree | 1e1380d86a399df0818b60bccf435ef3808e7e41 | |
parent | 8388f5a7e14108a1458fea35bfbb5a453e2c563c (diff) |
BGP: Fix handling of bgp_aggregator atttribute
The attribute should not be modifiable by filters as we do not
support its type.
-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 1407315d..8222024d 100644 --- a/proto/bgp/config.Y +++ b/proto/bgp/config.Y @@ -303,7 +303,7 @@ dynamic_attr: BGP_LOCAL_PREF dynamic_attr: BGP_ATOMIC_AGGR { $$ = f_new_dynamic_attr(EAF_TYPE_OPAQUE, T_ENUM_EMPTY, EA_CODE(PROTOCOL_BGP, BA_ATOMIC_AGGR)); } ; dynamic_attr: BGP_AGGREGATOR - { $$ = f_new_dynamic_attr(EAF_TYPE_INT, T_INT, EA_CODE(PROTOCOL_BGP, BA_AGGREGATOR)); } ; + { $$ = f_new_dynamic_attr(EAF_TYPE_OPAQUE, T_ENUM_EMPTY, EA_CODE(PROTOCOL_BGP, BA_AGGREGATOR)); } ; dynamic_attr: BGP_COMMUNITY { $$ = f_new_dynamic_attr(EAF_TYPE_INT_SET, T_CLIST, EA_CODE(PROTOCOL_BGP, BA_COMMUNITY)); } ; dynamic_attr: BGP_ORIGINATOR_ID |