aboutsummaryrefslogtreecommitdiff
path: root/tests/ipv6notfound.at
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ipv6notfound.at')
-rw-r--r--tests/ipv6notfound.at8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/ipv6notfound.at b/tests/ipv6notfound.at
index f93c96b..cae6937 100644
--- a/tests/ipv6notfound.at
+++ b/tests/ipv6notfound.at
@@ -16,11 +16,13 @@
AT_SETUP([IPv6 not found])
AT_VARNISHTEST([
- sub vcl_init {
- remoteip.init("2001:DB8:AC12::1, 2001:DB8:ACB2::1, 2001:DB8:AC12::10");
+ acl trusted {
+ "2001:DB8:AC12::1";
+ "2001:DB8:ACB2::1";
+ "2001:DB8:AC12::10";
}
sub vcl_deliver {
- set resp.http.result = remoteip.get("2001:DB8:ACB2::1, 2001:DB8:AC12::1, 2001:DB8:AC12::10");
+ set resp.http.result = remoteip.get(trusted, "2001:DB8:ACB2::1, 2001:DB8:AC12::1, 2001:DB8:AC12::10");
}
],
[ txreq

Return to:

Send suggestions and report system problems to the System administrator.