]> git.ipfire.org Git - thirdparty/bird.git/commit
Filter: Add route attribute gw_mpls_stack
authorOndrej Zajicek <santiago@crfreenet.org>
Tue, 5 Mar 2024 15:38:24 +0000 (16:38 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Tue, 5 Mar 2024 15:47:08 +0000 (16:47 +0100)
commit114be2af28e5c124bd479a487f89244ba99c272d
tree3123a81d097e70101414f06d190a1f1e850a503b
parent26dd61ee7f91c15157601b2404de5b6500a6061c
Filter: Add route attribute gw_mpls_stack

Add route attribute gw_mpls_stack to make MPLS stack of route nexthop
accessible from filters. Its type is T_CLIST, which is really not correct
(as it is a list, while T_CLIST is a set). Therefore, we keep this
attribute *undocumented* and it will be *changed* without further notice.

Based on a patch from Trisha Biswas <tbiswas@fastly.com>, thanks!
filter/config.Y
filter/data.h
filter/f-inst.c
lib/ip.h
nest/rt-show.c