Fix build on macOS

pull/209/head
Michael 6 years ago
parent 167d5aca6d
commit e1d01262b8
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

@ -44,9 +44,11 @@
#define APPLE_UTUN "com.apple.net.utun_control"
#define UTUN_OPT_IFNAME 2
static int
tuntap_sys_start(struct device *dev, int, int)
int
tuntap_sys_start(struct device *dev, int mode, int tun)
{
(void)mode;
(void)tun;
uint32_t namesz = IFNAMSIZ;
char name[IFNAMSIZ + 1];
int fd;

Loading…
Cancel
Save