fix compile error on freebsd

This commit is contained in:
Jeff Becker 2019-10-28 11:27:02 -04:00
parent 3a6c16aa36
commit e1a4e77d5a
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -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)