]> git.ipfire.org Git - thirdparty/bird.git/commit
VRF: Fix issues with reconfiguration
authorOndrej Zajicek <santiago@crfreenet.org>
Sun, 22 Jan 2023 17:12:04 +0000 (18:12 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Sun, 22 Jan 2023 17:21:08 +0000 (18:21 +0100)
commita82683694da23799f247b3392a00efdd342afdfc
tree0dab0d2f8d39a56f14bd989912d2364db124e4d9
parent3186ffe79714a48542d5ad61a94c81216b522fd0
VRF: Fix issues with reconfiguration

Protocols receive if_notify() announcements that are filtered according
to their VRF setting, but during reconfiguration, they access iface_list
directly and forgot to check VRF setting here, which leads to all
interfaces be addedd.

Fix this issue for Babel, OSPF, RAdv and RIP protocols.

Thanks to Marcel Menzel for the bugreport.
proto/babel/babel.c
proto/ospf/iface.c
proto/radv/radv.c
proto/rip/rip.c