]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
fixup! tests: replace cache_overflow test, fix its config file
authorŠtěpán Balážik <stepan.balazik@nic.cz>
Mon, 26 Oct 2020 17:33:24 +0000 (18:33 +0100)
committerŠtěpán Balážik <stepan.balazik@nic.cz>
Mon, 26 Oct 2020 17:33:24 +0000 (18:33 +0100)
lib/cache/overflow.test.integr/kresd_config.j2

index c6640b1bf68e28b0e1481351222d35c5ed61210d..87dbd69a2fcaf66666d1636cf355fca6ff279599 100644 (file)
@@ -35,7 +35,18 @@ policy.add(policy.all(policy.DEBUG_ALWAYS))
 cache.open(1*MB)
 
 {% endraw %}
+
+{% if DO_IP6 == "true" %}
+net.ipv6 = true
+{% else %}
+net.ipv6 = false
+{% endif %}
+
+{% if DO_IP4 == "true" %}
+net.ipv4 = true
+{% else %}
 net.ipv4 = false
+{% endif %}
 
 -- both instances listen on both addresses
 -- so queries get distributed between them randomly