summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/miekg/dns/zcompress.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/miekg/dns/zcompress.go')
-rw-r--r--vendor/github.com/miekg/dns/zcompress.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/vendor/github.com/miekg/dns/zcompress.go b/vendor/github.com/miekg/dns/zcompress.go
index a2c09dd48..6391a3501 100644
--- a/vendor/github.com/miekg/dns/zcompress.go
+++ b/vendor/github.com/miekg/dns/zcompress.go
@@ -109,9 +109,6 @@ func compressionLenHelperType(c map[string]int, r RR, initLen int) int {
func compressionLenSearchType(c map[string]int, r RR) (int, bool, int) {
switch x := r.(type) {
- case *AFSDB:
- k1, ok1, sz1 := compressionLenSearch(c, x.Hostname)
- return k1, ok1, sz1
case *CNAME:
k1, ok1, sz1 := compressionLenSearch(c, x.Target)
return k1, ok1, sz1