wide dhcpv6 code modernized for OpenBSD