summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/ovpn/ovpn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/ovpn/ovpn.c b/src/tools/ovpn/ovpn.c
index d5e9d024..8de794fa 100644
--- a/src/tools/ovpn/ovpn.c
+++ b/src/tools/ovpn/ovpn.c
@@ -89,7 +89,7 @@ static int tun_open(char * dev,
memset(&ifr, 0, sizeof(ifr));
- ifr.ifr_flags = IFF_TUN;
+ ifr.ifr_flags = IFF_TUN | IFF_NO_PI;
ret = ioctl(fd, TUNSETIFF, (void *) &ifr);
if (ret < 0)