This commit is contained in:
Miek Gieben 2012-08-25 19:38:52 +02:00
parent 0d148c2369
commit 8ee22a4494
1 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,7 @@ func NewZone(origin string) *Zone {
return z return z
} }
// Insert inserts an RR into the zone. There is no check for duplicate data, allthough // Insert inserts an RR into the zone. There is no check for duplicate data, although
// Remove will remove all duplicates. // Remove will remove all duplicates.
func (z *Zone) Insert(r RR) error { func (z *Zone) Insert(r RR) error {
if !IsSubDomain(z.Origin, r.Header().Name) { if !IsSubDomain(z.Origin, r.Header().Name) {