builder/vmware: compile host_ip on every platform

pull/228/merge
Mitchell Hashimoto 13 years ago
parent 1ff52979fe
commit ce4db65fa0

@ -1,5 +1,3 @@
// +build darwin freebsd linux netbsd openbsd
package vmware
// Interface to help find the host IP that is available from within

@ -57,7 +57,9 @@ func (*VMnetNatConfIPFinder) HostIP() (string, error) {
break
}
return "", err
if err != nil {
return "", err
}
}
return "", errors.New("host IP not found in NAT config")

Loading…
Cancel
Save