fix: restore DNS during invalid-device uninstall

This commit is contained in:
Dev Scribe
2026-07-28 16:12:36 +07:00
committed by Cuong Manh Le
parent d29e7d131e
commit b79098658a
5 changed files with 118 additions and 39 deletions
+1 -1
View File
@@ -394,7 +394,7 @@ func preserveBoundListeners(newListeners, curListeners map[string]*ctrld.Listene
}
func (p *prog) preRun() {
if iface == "auto" {
if iface == autoIface {
iface = defaultIfaceName()
p.requiredMultiNICsConfig = requiredMultiNICsConfig()
}