fix: restore DNS during invalid-device uninstall

This commit is contained in:
Dev Scribe
2026-07-04 15:56:26 -04:00
committed by Cuong Manh Le
parent 5ef0a59081
commit 265573c744
10 changed files with 118 additions and 38 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ func preserveBoundListeners(newListeners, curListeners map[string]*ctrld.Listene
}
func (p *prog) preRun() {
if iface == "auto" {
if iface == autoIface {
iface = defaultIfaceName()
p.requiredMultiNICsConfig = requiredMultiNICsConfig()
}