0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-09-16 18:35:19 +00:00

Nest: Minor fixes in MPLS

This commit is contained in:
Ondrej Zajicek 2023-10-25 18:25:46 +02:00
parent 06301a991d
commit a740054db5
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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 */