Make proxy use configured WeaveDNS address

rather than assuming it is listening on the weave bridge
This commit is contained in:
Bryan Boreham committed 2018-01-29 15:55:36 +00:00
1 parent e65006042d
commit 86d2800b59
2 files changed
+3 -11

No files matched your search

+1
View File
@@ -271,6 +271,7 @@ func main() {
var proxy *weaveproxy.Proxy
var err error
if proxyConfig.Enabled {
proxyConfig.DNSListenAddress = dnsConfig.addressOnly()
if noDNS {
proxyConfig.WithoutDNS = true
}