summaryrefslogtreecommitdiff
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-09-13 18:05:34 +0200
commit7f9d4d9ae6f012dccb5b31e79c9e178123bdcef0 (patch)
tree214e8bf81a5343fa2f47d6d86a613d1b9243fb90
parente8d34d7262d240cff35f34b555188ccbfb7bc110 (diff)
Wireguard: Fix type error
Currently bgp_tunnel_encap is a T_SET.
-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)); } ;