Merge pull request #63 from andrewtj/atj-llq-fix

Return bytes when packing EDNS0_LLQ struct
This commit is contained in:
Miek Gieben 2013-12-14 00:44:41 -08:00
commit e716c3fe8c
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@ func (e *EDNS0_LLQ) pack() ([]byte, error) {
b[15] = byte(e.LeaseLife >> 16)
b[16] = byte(e.LeaseLife >> 8)
b[17] = byte(e.LeaseLife)
return nil, nil
return b, nil
}
func (e *EDNS0_LLQ) unpack(b []byte) {