Remove dns config on shutdown
Also add calls to MacDNSHelper to the kext tap
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user