mirror of
https://github.com/yarrick/iodine.git
synced 2025-04-07 19:12:07 +00:00
---
This commit is contained in:
parent
563cf30efd
commit
a46cb3398a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue