mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-03 21:27:37 +03:00
Update deps
This commit is contained in:
parent
19cebfdb0a
commit
5c37d3b9de
29 changed files with 574 additions and 3490 deletions
4
vendor/github.com/miekg/dns/edns.go
generated
vendored
4
vendor/github.com/miekg/dns/edns.go
generated
vendored
|
@ -543,6 +543,10 @@ func (e *EDNS0_EXPIRE) pack() ([]byte, error) {
|
|||
}
|
||||
|
||||
func (e *EDNS0_EXPIRE) unpack(b []byte) error {
|
||||
if len(b) == 0 {
|
||||
// zero-length EXPIRE query, see RFC 7314 Section 2
|
||||
return nil
|
||||
}
|
||||
if len(b) < 4 {
|
||||
return ErrBuf
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue