Download raw body.
rad(8): track vltime / pltime for "auto prefix"es
On Mon 20/05/2024 14:16, Florian Obser wrote: > Prefixes delegated via DHCPv6 have a lifetime, honour it. > > The "auto prefix" feature derives the prefix to announce from a > configured IPv6 address. If that address has a vltime / pltime use > that value in router advertisements instead of statically configured > values. > > We also need to count down the vltime / pltime as time progresses. > > This is on top of "rad(8): reduce calls to getifaddrs(3)" and also needs > "send RTM_CHGADDRATTR for vltime / pltime changes" to work correctly. > > OK? Tested this on top of "rad(8) reduce calls to getifaddrs(3)" and "send RTM_CHGADDRATTR for vltime / pltime changes". No issues observed in a dual-stack setup, and no complaining clients. "send RTM_CHGADDRATTR for vltime / pltime changes" is already in. FWIW, ok bket@ for the 2 rad(8) diffs.
rad(8): track vltime / pltime for "auto prefix"es