WIP: Layer 2-Implementierung #6
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ int tundev_open(char *dev)
|
|||
struct ifreq ifr;
|
||||
memset(&ifr, 0, sizeof(ifr));
|
||||
|
||||
ifr.ifr_flags = IFF_TUN | IFF_NO_PI;
|
||||
ifr.ifr_flags = IFF_TUN;
|
||||
|
||||
strncpy(ifr.ifr_name, dev, IFNAMSIZ);
|
||||
|
||||
|
|
Loading…
Reference in a new issue