aboutsummaryrefslogtreecommitdiff
path: root/plugin/forward/persistent_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/forward/persistent_test.go')
-rw-r--r--plugin/forward/persistent_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/forward/persistent_test.go b/plugin/forward/persistent_test.go
index 5674658e6..5fa491a01 100644
--- a/plugin/forward/persistent_test.go
+++ b/plugin/forward/persistent_test.go
@@ -16,8 +16,7 @@ func TestPersistent(t *testing.T) {
})
defer s.Close()
- h := newHost(s.Addr)
- tr := newTransport(h)
+ tr := newTransport(s.Addr, nil /* no TLS */)
defer tr.Stop()
c1, _ := tr.Dial("udp")