From 8ee22a4494ec9cade4a29f07757bee34b4250761 Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Sat, 25 Aug 2012 19:38:52 +0200 Subject: [PATCH] typo --- zone.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zone.go b/zone.go index 14623695..adc63757 100644 --- a/zone.go +++ b/zone.go @@ -14,7 +14,7 @@ type Zone struct { *radix.Radix // Zone data } -// ZoneData holds all the RRs having their ownername equal to Name. +// ZoneData holds all the RRs having their owner name equal to Name. type ZoneData struct { Name string // Domain name for this node RR map[uint16][]RR // Map of the RR type to the RR @@ -22,7 +22,7 @@ type ZoneData struct { NonAuth bool // Always false, except for NSsets that differ from z.Origin } -// toRadixName reverses a domainname so that when we store it in the radix tree +// toRadixName reverses a domain name so that when we store it in the radix tree // we preserve the nsec ordering of the zone (this idea was stolen from NSD). // each label is also lowercased. func toRadixName(d string) string { @@ -50,7 +50,7 @@ func NewZone(origin string) *Zone { 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. func (z *Zone) Insert(r RR) error { if !IsSubDomain(z.Origin, r.Header().Name) {