diff options
Diffstat (limited to 'tests/ipv4notfound.at')
-rw-r--r-- | tests/ipv4notfound.at | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/ipv4notfound.at b/tests/ipv4notfound.at index 0184d96..b91fa33 100644 --- a/tests/ipv4notfound.at +++ b/tests/ipv4notfound.at @@ -16,11 +16,13 @@ AT_SETUP([IPv4 not found]) AT_VARNISHTEST([ - sub vcl_init { - remoteip.init("198.51.100.1, 192.0.2.1, 127.0.0.0/8"); + acl trusted { + "198.51.100.1"; + "192.0.2.1"; + "127.0.0.0/8"; } sub vcl_deliver { - set resp.http.result = remoteip.get("198.51.100.1, 192.0.2.1, 127.0.0.1"); + set resp.http.result = remoteip.get(trusted, "198.51.100.1, 192.0.2.1, 127.0.0.1"); } ], [ txreq |