freebsd-ports/net/vtun/files/extra-tun_dev.c
Jun Kuriyama f1309ae3e1 - USE_RC_SUBR'ify.
- Add knob to use simokawa's patch to enable extended mode.
2004-08-26 09:18:58 +00:00

13 lines
331 B
C

--- freebsd/tun_dev.c.orig Thu Aug 26 16:45:24 2004
+++ freebsd/tun_dev.c Thu Aug 26 16:45:42 2004
@@ -58,8 +58,8 @@
}
}
if( fd > -1 ){
- i=0;
- /* Disable extended modes */
+ i=1;
+ /* Enable extended modes */
ioctl(fd, TUNSLMODE, &i);
ioctl(fd, TUNSIFHEAD, &i);
}