fix a typo and rename the embedded dll

This commit is contained in:
mlsmaycon 2021-06-15 00:02:42 +02:00
parent 744984861b
commit 7df6cde968
2 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ func assignAddr(address string, tunDevice tun.Device) error {
ip := strings.Split(address, "/")
cmd := exec.Command("ifconfig", ifaceName, "inet", address, ip[0])
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
}
_, resolvedNet, err := net.ParseCIDR(address)