net/dns: correct log message.

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
upnpdebug
Denton Gentry 3 years ago committed by Denton Gentry
parent 54e33b511a
commit 260b85458c

@ -293,7 +293,7 @@ func (m windowsManager) SetDNS(cfg OSConfig) error {
} }
t0 = time.Now() t0 = time.Now()
m.logf("running ipconfig /registerdns ...") m.logf("running ipconfig /flushdns ...")
cmd = exec.Command("ipconfig", "/flushdns") cmd = exec.Command("ipconfig", "/flushdns")
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true} cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
err = cmd.Run() err = cmd.Run()

Loading…
Cancel
Save