diff options
author | 2024-08-19 11:35:08 +0000 | |
---|---|---|
committer | 2024-08-19 11:35:08 +0000 | |
commit | c78c3d5ed9c960340766ae5f66f4e7a86bb39855 (patch) | |
tree | 19f48a1b2c11e2d6f90862655177113caf4b3df2 /vendor/github.com/miekg/dns/zmsg.go | |
parent | [chore]: Bump github.com/minio/minio-go/v7 from 7.0.74 to 7.0.75 (#3208) (diff) | |
download | gotosocial-c78c3d5ed9c960340766ae5f66f4e7a86bb39855.tar.xz |
[chore]: Bump github.com/miekg/dns from 1.1.61 to 1.1.62 (#3209)
Diffstat (limited to 'vendor/github.com/miekg/dns/zmsg.go')
-rw-r--r-- | vendor/github.com/miekg/dns/zmsg.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/github.com/miekg/dns/zmsg.go b/vendor/github.com/miekg/dns/zmsg.go index 39b3bc810..5a6cf4c6a 100644 --- a/vendor/github.com/miekg/dns/zmsg.go +++ b/vendor/github.com/miekg/dns/zmsg.go @@ -706,6 +706,10 @@ func (rr *NULL) pack(msg []byte, off int, compression compressionMap, compress b return off, nil } +func (rr *NXNAME) pack(msg []byte, off int, compression compressionMap, compress bool) (off1 int, err error) { + return off, nil +} + func (rr *NXT) pack(msg []byte, off int, compression compressionMap, compress bool) (off1 int, err error) { off, err = packDomainName(rr.NextDomain, msg, off, compression, false) if err != nil { @@ -2266,6 +2270,13 @@ func (rr *NULL) unpack(msg []byte, off int) (off1 int, err error) { return off, nil } +func (rr *NXNAME) unpack(msg []byte, off int) (off1 int, err error) { + rdStart := off + _ = rdStart + + return off, nil +} + func (rr *NXT) unpack(msg []byte, off int) (off1 int, err error) { rdStart := off _ = rdStart |