This commit is contained in:
Miek Gieben 2013-02-15 13:50:24 +01:00
parent efcd11a5f6
commit e57fd3228a
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ func TLSAName(name, service, network string) (string, error) {
}
p, e := net.LookupPort(network, service)
if e != nil {
return "", err
return "", e
}
return "_" + strconv.Itoa(p) + "_" + network + "." + name, nil
}