chiark / gitweb /
Expunge CVS cruft.
[tripe] / tun-linux.c
index 5ffd0ade96c82d654eb02dd3b8b41edc99f19530..c30784d7cf91c76c61cabfd0c3e2b9904ce8b39c 100644 (file)
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: tun-linux.c,v 1.1 2003/04/06 10:25:17 mdw Exp $
+ * $Id: tun-linux.c,v 1.3 2004/04/08 01:36:17 mdw Exp $
  *
  * Tunnel interface based on Linux TUN/TAP driver
  *
  * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 
-/*----- Revision history --------------------------------------------------* 
- *
- * $Log: tun-linux.c,v $
- * Revision 1.1  2003/04/06 10:25:17  mdw
- * Support Linux TUN/TAP device.  Fix some bugs.
- *
- */
-
 /*----- Header files ------------------------------------------------------*/
 
 #include "tripe.h"
@@ -113,7 +105,7 @@ int tun_create(tunnel *t, peer *p)
   }
   fdflags(fd, O_NONBLOCK, O_NONBLOCK, FD_CLOEXEC, FD_CLOEXEC);
   iff.ifr_name[0] = 0;
-  iff.ifr_flags = IFF_TUN | IFF_NO_PI;
+  iff.ifr_flags = IFF_TUN;
   if ((f = ioctl(fd, TUNSETIFF, &iff)) < 0) {
     a_warn("couldn't set configure new TUN/TAP interface: %s",
           strerror(errno));