]> git.ipfire.org Git - thirdparty/bird.git/commit
RAdv: Fix flags for deprecated prefixes master
authorOndrej Zajicek <santiago@crfreenet.org>
Thu, 27 Nov 2025 16:59:44 +0000 (17:59 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Thu, 27 Nov 2025 16:59:44 +0000 (17:59 +0100)
commit324f4532ef90a66b4d1221ddccf790573ccfc623
tree6063e8f8e14c6ca81b0de0ae20bd0ed9e61732a5
parent0b177d3b3c5ff61fc80f0635c518d8d3bbc5c528
RAdv: Fix flags for deprecated prefixes

When a prefix is deprecated (valid_lifetime == 0), it should be
announced with the same flags as before. The old code announced it
without any flags, which leads to being ignored by recipients.

Note that a prefix could be depreacted for two reason - it is removed
from the interface, or it is deconfigured in BIRD configuration.

Thanks to Michael Saxl for the bugreport.
proto/radv/packets.c
proto/radv/radv.c
proto/radv/radv.h