mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-29 11:33:48 +01:00
fix a typo and rename the embedded dll
This commit is contained in:
parent
744984861b
commit
7df6cde968
@ -18,7 +18,7 @@ func assignAddr(address string, tunDevice tun.Device) error {
|
|||||||
ip := strings.Split(address, "/")
|
ip := strings.Split(address, "/")
|
||||||
cmd := exec.Command("ifconfig", ifaceName, "inet", address, ip[0])
|
cmd := exec.Command("ifconfig", ifaceName, "inet", address, ip[0])
|
||||||
if out, err := cmd.CombinedOutput(); err != nil {
|
if out, err := cmd.CombinedOutput(); err != nil {
|
||||||
log.Infoln("Command: %v failed with output %s and error: ", cmd.String(), out)
|
log.Infof("Command: %v failed with output %s and error: ", cmd.String(), out)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
_, resolvedNet, err := net.ParseCIDR(address)
|
_, resolvedNet, err := net.ParseCIDR(address)
|
||||||
|
Loading…
Reference in New Issue
Block a user