From a46cb3398ae50cd00176787f9e9d67db04119718 Mon Sep 17 00:00:00 2001 From: Julian Kranz Date: Sat, 31 Dec 2011 19:32:40 +0100 Subject: [PATCH] --- --- src/tun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tun.c b/src/tun.c index 30b5ee7..c46986f 100644 --- a/src/tun.c +++ b/src/tun.c @@ -88,7 +88,7 @@ open_tun(const char *tun_device) memset(&ifreq, 0, sizeof(ifreq)); - ifreq.ifr_flags = IFF_TUN; + ifreq.ifr_flags = IFF_TUN | IFF_NO_PI; if (tun_device != NULL) { strncpy(ifreq.ifr_name, tun_device, IFNAMSIZ);