Remove the in-bailiwick comment line
in-bailiwick involves talk about delegation/glue 'n stuff. Just leave it out.
This commit is contained in:
parent
fa3dd1e1ea
commit
dc64d717eb
|
@ -263,7 +263,6 @@ func IsDomainName(s string) (uint8, uint8, bool) { // copied from net package.
|
||||||
}
|
}
|
||||||
|
|
||||||
// IsSubDomain checks if child is indeed a child of the parent.
|
// IsSubDomain checks if child is indeed a child of the parent.
|
||||||
// In the DNS this is called "the subdomain is in bailiwick".
|
|
||||||
func IsSubDomain(parent, child string) bool {
|
func IsSubDomain(parent, child string) bool {
|
||||||
// If the number of labels both domain name have
|
// If the number of labels both domain name have
|
||||||
// in common equals the number of labels of parent,
|
// in common equals the number of labels of parent,
|
||||||
|
|
Loading…
Reference in New Issue