mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
Remove dns config on shutdown
Also add calls to MacDNSHelper to the kext tap
This commit is contained in:
parent
b9a1719cb1
commit
85a5b0b948
2 changed files with 7 additions and 1 deletions
|
@ -202,6 +202,8 @@ MacEthernetTap::MacEthernetTap(
|
|||
|
||||
MacEthernetTap::~MacEthernetTap()
|
||||
{
|
||||
MacDNSHelper::removeDNS(_nwid);
|
||||
|
||||
Mutex::Lock _gl(globalTapCreateLock);
|
||||
::write(_shutdownSignalPipe[1],"\0",1); // causes thread to exit
|
||||
Thread::join(_thread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue