Types should be usable with the Go type system

This commit is contained in:
Miek Gieben 2010-12-23 17:16:28 +01:00
parent 7d0a9dd4ca
commit 26f62197ba
1 changed files with 2 additions and 2 deletions

View File

@ -413,7 +413,7 @@ func (rr *RR_RRSIG) String() string {
type RR_NSEC struct {
Hdr RR_Header
NextDomain string "domain-name"
TypeBitMap []byte "NSEC"
TypeBitMap []int "NSEC"
}
func (rr *RR_NSEC) Header() *RR_Header {
@ -473,7 +473,7 @@ type RR_NSEC3 struct {
Salt string "hex"
HashLength uint8
NextDomain string "domain-name"
TypeBitMap []byte "NSEC3"
TypeBitMap []int "NSEC3" // &{TypeSOA,TypeDS,etc}
}
func (rr *RR_NSEC3) Header() *RR_Header {