locking here...?

This commit is contained in:
Miek Gieben 2012-08-25 19:03:49 +02:00
parent 0d148c2369
commit c146770f82
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@ type ZoneData struct {
RR map[uint16][]RR // Map of the RR type to the RR
Signatures map[uint16][]*RR_RRSIG // DNSSEC signatures for the RRs, stored under type covered
NonAuth bool // Always false, except for NSsets that differ from z.Origin
mutex *sync.RWMutex // lock for reading/writing
}
// toRadixName reverses a domainname so that when we store it in the radix tree