This commit is contained in:
Miek Gieben 2013-01-28 13:12:54 +01:00
parent b92195920a
commit 37cfcdfbef
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ func (e *EDNS0_SUBNET) pack() ([]byte, error) {
}
ip[i] = a[i]
}
// chop off ip a SourceNetmask/8: ip = ip[:e.SourceNetmask/8] ?
b = append(b, ip...)
default:
return nil, errors.New("dns: bad address family")