Add vboxnet0 to the list of interface names that shouldn't be used for testing (#1053)

This commit is contained in:
Richard Connon
2018-06-08 11:06:15 +01:00
committed by Reed Allman
parent f847402f67
commit 30bbb1f1be

View File

@@ -240,7 +240,7 @@ func getEnvInt(key string, fallback int) int {
func whoAmI() net.IP {
ints, _ := net.Interfaces()
for _, i := range ints {
if i.Name == "docker0" || i.Name == "lo" {
if i.Name == "docker0" || i.Name == "vboxnet0" || i.Name == "lo" {
// not perfect
continue
}