From: Florian Obser <flor...@openbsd.org> Date: Wed, 12 Apr 2023 14:45:10 +0200
I had overlooked SIOCAIFADDR_IN6. > On 2023-04-12 20:13 +09, Masato Asou <a...@soum.co.jp> wrote: >> Hi, >> >> SIOCSIFALIFETIME_IN6 has been removed from sys/netinet6/in6_var.h with >> the following commit: >> >> commit f487585d711456156cf95432fac5a11ff78440c8 >> Author: stefan <ste...@openbsd.org> >> Date: Sun Feb 28 07:15:34 2016 +0000 >> >> Remove SIOCSIFALIFETIME_IN6 ioctl, as NetBSD did. >> >> As described in NetBSD kern/35897 PR, the parameters >> this ioctl needs overlay each other in a union. The ioctl >> cannot have worked properly. >> >> Discovered while discussing overflow checks with mmcc@ and mpi@ >> The checks were part of the removed code. >> >> ok deraadt@ >> >> Can I remove pltime and vltime from ifconfig command? > > No, this is a different (working) mechanism. I can set pltime and vltime by following command: $ doas ifconfig vmx0 inet6 fc00::10/7 pltime 20000 vltime 40000 doas (a...@openbsd.example.co.jp) password: $ ifconfig vmx0 vmx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 lladdr 00:0c:29:38:96:ce index 3 priority 0 llprio 3 media: Ethernet autoselect (10GbaseT) status: active inet6 fe80::20c:29ff:fe38:96ce%vmx0 prefixlen 64 scopeid 0x3 inet6 fc00::10 prefixlen 7 pltime 19994 vltime 39994 $ Thank you for your reply. -- ASOU Masato