From 729b16e599fbc500840588b0f32b8f0b63dd61e8 Mon Sep 17 00:00:00 2001 From: braginini Date: Thu, 24 Jun 2021 10:59:41 +0200 Subject: [PATCH] fix: windows iface build --- iface/iface_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iface/iface_windows.go b/iface/iface_windows.go index 601ecfa4a7a..9c7ff25cd53 100644 --- a/iface/iface_windows.go +++ b/iface/iface_windows.go @@ -17,7 +17,7 @@ func assignAddr(address string, ifaceName string) error { ip, ipnet, _ := net.ParseCIDR(address) log.Debugf("adding address %s to interface: %s", address, ifaceName) - err = luid.SetIPAddresses([]net.IPNet{{ip, ipnet.Mask}}) + err := luid.SetIPAddresses([]net.IPNet{{ip, ipnet.Mask}}) if err != nil { return err }