Setting the default network interface for dev mode only in Linux and Darwin

This commit is contained in:
Diptanu Choudhury
2015-10-29 17:03:54 -07:00
parent 56f5e53382
commit b514b2145c

View File

@@ -226,7 +226,7 @@ func DevConfig() *Config {
conf.DisableAnonymousSignature = true
if runtime.GOOS == "darwin" {
conf.Client.NetworkInterface = "lo0"
} else {
} else if runtime.GOOS == "linux" {
conf.Client.NetworkInterface = "lo"
}