mirror of
https://github.com/miekg/dns.git
synced 2025-10-12 10:21:00 +02:00
Fix typo
This commit is contained in:
parent
522331911d
commit
e745789a1e
@ -2188,7 +2188,7 @@ func setCAA(h RR_Header, c chan lex, o, f string) (RR, *ParseError, string) {
|
|||||||
if e1 != nil {
|
if e1 != nil {
|
||||||
return nil, e1, c1
|
return nil, e1, c1
|
||||||
}
|
}
|
||||||
if rdlength*2 != len(s) || rdlength*2 < 4 {
|
if rdlength*2 != len(s) || len(s) < 4 {
|
||||||
return nil, &ParseError{f, "bad CAA Rdata", l}, ""
|
return nil, &ParseError{f, "bad CAA Rdata", l}, ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user