diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2022-09-15 02:29:12 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-10-04 13:01:21 +0200 |
commit | 15c86ed061d3dbc7e4ef863e396cda5ec3ed0d4c (patch) | |
tree | 2ceceb99ac0fe6789cdfffc23977d0b8ac39edc6 /proto/static/config.Y | |
parent | 333ddd4f981b90d5d3dff166b6abf9bf40bede9f (diff) |
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.
Diffstat (limited to 'proto/static/config.Y')
-rw-r--r-- | proto/static/config.Y | 1 |
1 files changed, 1 insertions, 0 deletions
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) |