feat: RFC-8427 #171
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ func (message *Message) ParseOpt(rcode int, rr dns.OPT) (ret EDNS0, err error) {
|
|||
|
||||
for i := uint32(1); i <= 0x7FFF; i <<= 1 {
|
||||
if rr.Hdr.Ttl&i != 0 {
|
||||
ret.Flags = append(ret.Flags, fmt.Sprintf("FLAG%d", i))
|
||||
ret.Flags = append(ret.Flags, fmt.Sprintf("BIT%d", i))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue