From 260b85458cae8000de5b2671db5361f867ec0aac Mon Sep 17 00:00:00 2001 From: Denton Gentry Date: Tue, 3 Aug 2021 12:55:51 -0700 Subject: [PATCH] net/dns: correct log message. Signed-off-by: Denton Gentry --- net/dns/manager_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dns/manager_windows.go b/net/dns/manager_windows.go index c02a4e270..f6eb7b3ff 100644 --- a/net/dns/manager_windows.go +++ b/net/dns/manager_windows.go @@ -293,7 +293,7 @@ func (m windowsManager) SetDNS(cfg OSConfig) error { } t0 = time.Now() - m.logf("running ipconfig /registerdns ...") + m.logf("running ipconfig /flushdns ...") cmd = exec.Command("ipconfig", "/flushdns") cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true} err = cmd.Run()