Go comments

This commit is contained in:
Miek Gieben 2012-11-04 09:27:23 +01:00
parent b90e2e85d6
commit 74cffb0578
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ func main() {
m.Question[0] = dns.Question{dns.Fqdn(os.Args[1]), dns.TypeSOA, dns.ClassINET}
nsAddressPort := ""
if strings.ContainsAny(":", ip) {
/* IPv6 address */
// IPv6 address
nsAddressPort = "[" + ip + "]:53"
} else {
nsAddressPort = ip + ":53"