loose the dns. prefix

This commit is contained in:
Miek Gieben 2011-01-27 20:43:55 +01:00
parent e7def2e94e
commit 8fbcb3e408
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@ func (k *RR_DNSKEY) KeyTag() uint16 {
keywire.Protocol = k.Protocol
keywire.Algorithm = k.Algorithm
keywire.PublicKey = k.PublicKey
wire := make([]byte, dns.DefaultMsgSize)
wire := make([]byte, DefaultMsgSize)
n, ok := packStruct(keywire, wire, 0)
if !ok {
return 0
@ -106,7 +106,7 @@ func (k *RR_DNSKEY) ToDS(h int) *RR_DS {
keywire.Protocol = k.Protocol
keywire.Algorithm = k.Algorithm
keywire.PublicKey = k.PublicKey
wire := make([]byte, dns.DefaultMsgSize)
wire := make([]byte, DefaultMsgSize)
n, ok := packStruct(keywire, wire, 0)
if !ok {
return nil