From: Štěpán Balážik Date: Mon, 26 Oct 2020 17:33:24 +0000 (+0100) Subject: fixup! tests: replace cache_overflow test, fix its config file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=308dcb0b925200686b54ee6fc5e94bf67bd2c4d2;p=thirdparty%2Fknot-resolver.git fixup! tests: replace cache_overflow test, fix its config file --- diff --git a/lib/cache/overflow.test.integr/kresd_config.j2 b/lib/cache/overflow.test.integr/kresd_config.j2 index c6640b1bf..87dbd69a2 100644 --- a/lib/cache/overflow.test.integr/kresd_config.j2 +++ b/lib/cache/overflow.test.integr/kresd_config.j2 @@ -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