plugin/forward: test TLS setup (#1677)

This commit is contained in:
Miek Gieben
2018-04-13 17:02:54 +01:00
committed by GitHub
parent 662edf6607
commit cff0c9fb4c
2 changed files with 38 additions and 1 deletions

View File

@@ -114,7 +114,7 @@ func parseForward(c *caddy.Controller) (*Forward, error) {
break
}
// This is more of a bug in // dnsutil.ParseHostPortOrFile that defaults to
// This is more of a bug in dnsutil.ParseHostPortOrFile that defaults to
// 53 because it doesn't know about the tls:// // and friends (that should be fixed). Hence
// Fix the port number here, back to what the user intended.
if p == "53" {