Skip to content

Commit

Permalink
Merge pull request #365 from hashicorp/dev-config-network-interface
Browse files Browse the repository at this point in the history
Setting the default network interface for dev mode only in Linux and Darwin
  • Loading branch information
dadgar committed Oct 30, 2015
2 parents 0f787a3 + b514b21 commit ae2ab45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command/agent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit ae2ab45

Please sign in to comment.