From: Ondrej Zajicek Date: Wed, 25 Oct 2023 16:25:46 +0000 (+0200) Subject: Nest: Minor fixes in MPLS X-Git-Tag: v2.15~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a740054db50b8532680bd1673a5d4519af889c0f;p=thirdparty%2Fbird.git Nest: Minor fixes in MPLS --- diff --git a/conf/confbase.Y b/conf/confbase.Y index 2c37bd4d0..b2471198f 100644 --- a/conf/confbase.Y +++ b/conf/confbase.Y @@ -294,7 +294,7 @@ net_roa6_: net_ip6_ MAX NUM AS NUM net_mpls_: MPLS NUM { - $$ = cfg_alloc(sizeof(net_addr_roa6)); + $$ = cfg_alloc(sizeof(net_addr_mpls)); net_fill_mpls($$, $2); } diff --git a/nest/config.Y b/nest/config.Y index 6bd08481c..6832a57a8 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -209,7 +209,7 @@ net_type: | MPLS { $$ = NET_MPLS; } ; -CF_ENUM(T_ENUM_NETTYPE, NET_, IP4, IP6, VPN4, VPN6, ROA4, ROA6, FLOW4, FLOW6, IP6_SADR) +CF_ENUM(T_ENUM_NETTYPE, NET_, IP4, IP6, VPN4, VPN6, ROA4, ROA6, FLOW4, FLOW6, IP6_SADR, MPLS) /* Creation of routing tables */