From 15c86ed061d3dbc7e4ef863e396cda5ec3ed0d4c Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 15 Sep 2022 02:29:12 +0200 Subject: Static: Add MPLS support When MPLS is active, static IP/VPN routes are automatically labeled according to active label policy and corresponding MPLS routes are automatically generated. --- proto/static/config.Y | 1 + 1 file changed, 1 insertion(+) (limited to 'proto/static/config.Y') diff --git a/proto/static/config.Y b/proto/static/config.Y index 9d26ee82..c8862171 100644 --- a/proto/static/config.Y +++ b/proto/static/config.Y @@ -63,6 +63,7 @@ static_proto: static_proto_start proto_name '{' | static_proto proto_item ';' | static_proto proto_channel ';' { this_proto->net_type = $2->net_type; } + | static_proto mpls_channel ';' | static_proto CHECK LINK bool ';' { STATIC_CFG->check_link = $4; } | static_proto IGP TABLE rtable ';' { if ($4->addr_type == NET_IP4) -- cgit v1.2.3