This commit is contained in:
Miek Gieben 2012-02-14 22:43:04 +01:00
parent 827e4a476f
commit 95ffaca79d
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ package dns
// SplitLabels splits a domainname string into its labels.
// www.miek.nl. returns []string{"www", "miek", "nl"}
// The root label (.) returns nil
// The root label (.) returns nil.
func SplitLabels(s string) []string {
if (s == ".") {
return nil