mirror of https://github.com/macssh/macssh.git
restart nameserver services for kOTProviderIsClosed message too
This commit is contained in:
parent
ae6077f431
commit
f9ad93899b
|
@ -53,10 +53,10 @@ pascal void GUSIOTNetDBNotify(
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
if (code == kOTProviderIsClosed)
|
||||||
|
netdb->fCreationContext = nil; // Close & reopen
|
||||||
if (code != kOTProviderWillClose)
|
if (code != kOTProviderWillClose)
|
||||||
result = 0;
|
result = 0;
|
||||||
else
|
|
||||||
netdb->fCreationContext = nil; // Close & reopen
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (result)
|
if (result)
|
||||||
|
|
Loading…
Reference in New Issue