mirror of
https://gitee.com/gitea/gitea
synced 2025-11-07 01:50:26 +08:00
go1.16 (#14783)
This commit is contained in:
4
vendor/github.com/miekg/dns/edns.go
generated
vendored
4
vendor/github.com/miekg/dns/edns.go
generated
vendored
@@ -88,8 +88,8 @@ func (rr *OPT) len(off int, compression map[string]struct{}) int {
|
||||
return l
|
||||
}
|
||||
|
||||
func (rr *OPT) parse(c *zlexer, origin string) *ParseError {
|
||||
panic("dns: internal error: parse should never be called on OPT")
|
||||
func (*OPT) parse(c *zlexer, origin string) *ParseError {
|
||||
return &ParseError{err: "OPT records do not have a presentation format"}
|
||||
}
|
||||
|
||||
func (r1 *OPT) isDuplicate(r2 RR) bool { return false }
|
||||
|
||||
Reference in New Issue
Block a user