Skip to content

Commit

Permalink
fix: windows iface build
Browse files Browse the repository at this point in the history
  • Loading branch information
braginini committed Jun 24, 2021
1 parent 561bd68 commit 729b16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iface/iface_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 729b16e

Please sign in to comment.