Prefixes delegated via DHCPv6 have a lifetime, honour it.
authorflorian <florian@openbsd.org>
Fri, 31 May 2024 16:10:42 +0000 (16:10 +0000)
committerflorian <florian@openbsd.org>
Fri, 31 May 2024 16:10:42 +0000 (16:10 +0000)
commit20fc6e8e7c4cda7278812b49590f43406accd45a
treeb9201df50b806ba16bc6092819f38aaf651ac911
parentc358c7e38d3faf6438ab1eeea345ec40dabd96bf
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.

testing Ryan Vogt
testing & OK bket@, jmatthew@
usr.sbin/rad/frontend.c
usr.sbin/rad/rad.h