]> git.ipfire.org Git - thirdparty/bird.git/commit
MPLS: Handle compatibility with old configs
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 5 Oct 2023 15:54:43 +0000 (17:54 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 5 Oct 2023 15:54:43 +0000 (17:54 +0200)
commitba01a6f2e66d03eb5d9426fdf4973f30e09c5710
tree72d0b5c78acd009fb7756dfb960321b789552931
parentde09fda5dcef16bf50663f7ffb56074e6ad20b5a
MPLS: Handle compatibility with old configs

Old configs do not define MPLS domains and may use a static protocol
to define static MPLS routes.

When MPLS channel is the only channel of static protocol, handle it
as a main channel. Also, define implicit MPLS domain if needed and
none is defined.
nest/mpls.Y
nest/protocol.h
proto/static/static.c