Add comment regarding loopback address hardcoding

This commit is contained in:
Alfonso Acosta
2016-12-21 10:10:00 +00:00
parent 00c4a7cf86
commit bae1533b12

View File

@@ -379,6 +379,8 @@ func main() {
args = append(args, defaultServiceHost)
}
} else if !flags.probe.noApp {
// We hardcode 127.0.0.1 instead of using localhost
// since it leads to problems in exotic DNS setups
args = append(args, fmt.Sprintf("127.0.0.1:%s", port))
}
args = append(args, flag.Args()...)