aboutsummaryrefslogtreecommitdiff
path: root/plugin/rewrite/rewrite_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/rewrite/rewrite_test.go')
-rw-r--r--plugin/rewrite/rewrite_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/rewrite/rewrite_test.go b/plugin/rewrite/rewrite_test.go
index 316921954..ecab07787 100644
--- a/plugin/rewrite/rewrite_test.go
+++ b/plugin/rewrite/rewrite_test.go
@@ -422,7 +422,7 @@ func optsEqual(a, b []dns.EDNS0) bool {
if aa.SourceScope != bb.SourceScope {
return false
}
- if !bytes.Equal(aa.Address, bb.Address) {
+ if !aa.Address.Equal(bb.Address) {
return false
}
} else {