aboutsummaryrefslogtreecommitdiff
path: root/lib/anubis_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/anubis_test.go')
-rw-r--r--lib/anubis_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/anubis_test.go b/lib/anubis_test.go
index 90d2cdf..58c8834 100644
--- a/lib/anubis_test.go
+++ b/lib/anubis_test.go
@@ -47,7 +47,7 @@ func TestCookieSettings(t *testing.T) {
CookieName: t.Name(),
})
- ts := httptest.NewServer(internal.DefaultXRealIP("127.0.0.1", srv))
+ ts := httptest.NewServer(internal.RemoteXRealIP(true, "tcp", srv))
defer ts.Close()
cli := &http.Client{