mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-21 05:43:59 -07:00
Fix for MacOS interface setup and config timing bugs.
This commit is contained in:
parent
a91c49fa52
commit
1b8917a57c
4 changed files with 26 additions and 9 deletions
|
@ -176,10 +176,10 @@ static void die()
|
|||
close(s_ndrvfd);
|
||||
if (s_bpffd >= 0)
|
||||
close(s_bpffd);
|
||||
if (s_deviceName[0])
|
||||
run("/sbin/ifconfig",s_deviceName,"destroy",(char *)0);
|
||||
if (s_peerDeviceName[0])
|
||||
run("/sbin/ifconfig",s_peerDeviceName,"destroy",(char *)0);
|
||||
if (s_deviceName[0])
|
||||
run("/sbin/ifconfig",s_deviceName,"destroy",(char *)0);
|
||||
}
|
||||
|
||||
static inline void close_inherited_fds()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue