summaryrefslogtreecommitdiff
path: root/proto/bgp/config.Y
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-12-29 22:25:43 +0100
committerMikael Magnusson <mikma@users.sourceforge.net>2020-05-08 18:52:55 +0200
commit38dfa9660e5b8e8a0bc638d30ae56986350f5915 (patch)
tree281be6ce5240acac03a6504490900302174a1faa /proto/bgp/config.Y
parenta3ac30fd374a665c67ca0718ce9999f8f0c03be2 (diff)
Wireguard: Fix type error
Currently bgp_tunnel_encap is a T_SET.
Diffstat (limited to 'proto/bgp/config.Y')
-rw-r--r--proto/bgp/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bgp/config.Y b/proto/bgp/config.Y
index 8f1e06a0..cf237929 100644
--- a/proto/bgp/config.Y
+++ b/proto/bgp/config.Y
@@ -325,7 +325,7 @@ dynamic_attr: BGP_AIGP
dynamic_attr: BGP_LARGE_COMMUNITY
{ $$ = f_new_dynamic_attr(EAF_TYPE_LC_SET, T_LCLIST, EA_CODE(PROTOCOL_BGP, BA_LARGE_COMMUNITY)); } ;
dynamic_attr: BGP_TUNNEL_ENCAP
- { $$ = f_new_dynamic_attr(EAF_TYPE_TUNNEL_ENCAP, T_TLV, EA_CODE(PROTOCOL_BGP, BA_TUNNEL_ENCAP)); } ;
+ { $$ = f_new_dynamic_attr(EAF_TYPE_TUNNEL_ENCAP, T_SET, EA_CODE(PROTOCOL_BGP, BA_TUNNEL_ENCAP)); } ;