mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
fix compile error on freebsd
This commit is contained in:
parent
3a6c16aa36
commit
e1a4e77d5a
2
vendor/libtuntap-master/tuntap-unix.c
vendored
2
vendor/libtuntap-master/tuntap-unix.c
vendored
@ -381,7 +381,7 @@ tuntap_set_debug(struct device *dev, int set)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifndef Darwin
|
||||
#if defined(__linux__)
|
||||
if(ioctl(dev->tun_fd, TUNSETDEBUG, &set) == -1)
|
||||
{
|
||||
switch(set)
|
||||
|
Loading…
Reference in New Issue
Block a user