]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2066] Fix lettuce
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 13 Aug 2012 12:05:54 +0000 (14:05 +0200)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 13 Aug 2012 12:05:54 +0000 (14:05 +0200)
The fix that allowed resolver to have TSIG keys and other future checks
made the setting of action impossible. This will work once again when
we merge #2184, but for now, we need the fix.

tests/lettuce/features/resolver_basic.feature

index 409210186e7be48b2c67208a778c9b8f4c18fd8d..47fc12304cb6ecb368cfba6da95e9e924f54e1ce 100644 (file)
@@ -27,10 +27,10 @@ Feature: Basic Resolver
         A query for l.root-servers.net. should have rcode REFUSED
 
         # Test whether acl ACCEPT works
-        When I set bind10 configuration Resolver/query_acl[0]/action to ACCEPT
+        When I set bind10 configuration Resolver/query_acl[0] to {"action": "ACCEPT", "from": "127.0.0.1"}
         # This address is currently hardcoded, so shouldn't cause outside traffic
         A query for l.root-servers.net. should have rcode NOERROR
 
         # Check whether setting the ACL to reject again works
-        When I set bind10 configuration Resolver/query_acl[0]/action to REJECT
+        When I set bind10 configuration Resolver/query_acl[0] to {"action": "REJECT", "from": "127.0.0.1"}
         A query for l.root-servers.net. should have rcode REFUSED