1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
This commit is contained in:
Jeff Becker 2018-12-15 12:22:32 -05:00
parent d6b71c330b
commit cf417efded
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -140,7 +140,7 @@ tuntap_sys_start(struct device *dev, int mode, int tun)
}
int set = 1;
if(ioctl(dev->fd, TUNSIFHEAD, &set) == -1)
if(ioctl(dev->tun_fd, TUNSIFHEAD, &set) == -1)
{
tuntap_log(TUNTAP_LOG_ERR, "ioctl for TUNSIFHEAD failed");
return -1;