From 7df6cde968db67e31c573249282cc9a0ca59713c Mon Sep 17 00:00:00 2001 From: mlsmaycon Date: Tue, 15 Jun 2021 00:02:42 +0200 Subject: [PATCH] fix a typo and rename the embedded dll --- iface/iface_darwin.go | 2 +- ...urces_amd64.syso => resources_windows_amd64.syso | Bin 2 files changed, 1 insertion(+), 1 deletion(-) rename resources_amd64.syso => resources_windows_amd64.syso (100%) diff --git a/iface/iface_darwin.go b/iface/iface_darwin.go index 9e566844d..aa963e25e 100644 --- a/iface/iface_darwin.go +++ b/iface/iface_darwin.go @@ -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) diff --git a/resources_amd64.syso b/resources_windows_amd64.syso similarity index 100% rename from resources_amd64.syso rename to resources_windows_amd64.syso