On Wed, Oct 16, 2024 at 05:12:31AM -0600, David Gwynne wrote: > CVSROOT: /cvs > Module name: src > Changes by: d...@cvs.openbsd.org 2024/10/16 05:12:31 > > Modified files: > sys/net : if_tun.c > > Log message: > cut tun_init() out, it does pointless work. > > tun_init turns interface/stack config into a set of flags that > tun(4) keeps in tun_softc sc_flags, but never uses. > > ok miod@ kn@
regress/sbin/ifconfig now fails. Is that expected? > sbin/ifconfig Exit: 1 Duration: 00:00:22 (+00:00:01) Log: 184-sbin-ifconfig.log ==== run-ppp-ifaddr-destination ==== doas -n /sbin/ifconfig tun99 destroy 2>/dev/null || true doas -n /sbin/ifconfig tun99 create doas -n ./ifaddr tun99 10.188.253.74 10.188.253.75 ifaddr: SIOCSIFDSTADDR: Inappropriate ioctl for device *** Error 1 in . (Makefile:295 'run-ppp-ifaddr-destination') FAILED ==== run-ppp-ifaddr-change-destination ==== doas -n /sbin/ifconfig tun99 destroy 2>/dev/null || true doas -n /sbin/ifconfig tun99 create doas -n ./ifaddr tun99 10.188.253.1 10.188.253.11 ifaddr: SIOCSIFDSTADDR: Inappropriate ioctl for device *** Error 1 in . (Makefile:324 'run-ppp-ifaddr-change-destination') FAILED