mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-24 06:02:21 +01:00
fix: windows iface build
This commit is contained in:
parent
561bd681d9
commit
729b16e599
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user