]> git.ipfire.org Git - thirdparty/bird.git/commit
MPLS: Improve handling of static label allocations
authorOndrej Zajicek <santiago@crfreenet.org>
Sat, 23 Sep 2023 15:55:01 +0000 (17:55 +0200)
committerOndrej Zajicek <santiago@crfreenet.org>
Wed, 4 Oct 2023 11:12:05 +0000 (13:12 +0200)
commitb6385decb3f9f4d4029ee7bfc2f013b495a725f8
tree0da9d35a799acbdd271b43d13fd7945d07c9f0cd
parent81a20ca5d8508f7317f2e023a3be5e5da454d740
MPLS: Improve handling of static label allocations

Use mpls_new_label() / mpls_free_label() also for static labels, to keep
track of allocated labels and to enforce label ranges.

Static label allocations always use static label range, regardless of
configured label range.
nest/mpls.c
nest/mpls.h