fix compile error on freebsd

pull/875/head
Jeff Becker 5 years ago
parent 3a6c16aa36
commit e1a4e77d5a
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -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…
Cancel
Save