drop redundant AF attach ioctl
authorkn <kn@openbsd.org>
Mon, 7 Oct 2024 04:29:01 +0000 (04:29 +0000)
committerkn <kn@openbsd.org>
Mon, 7 Oct 2024 04:29:01 +0000 (04:29 +0000)
commitb389496969fcb3789e4468cb0afea7443a9ef667
tree54d0a7c50ccf764b7c6eb349efe79dd3cd7971db
parent74bed498c2c0d1c9fbb17a66c30f90c771928d43
drop redundant AF attach ioctl

SIOCAIFADDR_IN6 to configure an IPv6 address does everything SIOCIFAFATTACH
does, i.e. it enables IPv6 on the interface if not done so already.

vm.conf(5) 'local inet6' works as before.

OK mlarkin
usr.sbin/vmd/priv.c