nit: change flag to bit
this is in the RFC Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
b9bf6bd8dc
commit
53f89ab107
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