mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-15 12:13:24 +00:00
Fix build on macOS
This commit is contained in:
parent
167d5aca6d
commit
e1d01262b8
6
vendor/libtuntap-master/tuntap-unix-darwin.c
vendored
6
vendor/libtuntap-master/tuntap-unix-darwin.c
vendored
@ -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…
Reference in New Issue
Block a user