From 9baeafa890f7b1d3829df633322fb4288e9ea882 Mon Sep 17 00:00:00 2001
From: Christian Breunig <christian@breunig.cc>
Date: Sat, 6 Jan 2024 20:45:46 +0100
Subject: dns: T5900: fix smoketests for serve-stale-extension and
 exclude-throttle-address

This fixes commit 199ceb1f0a ("dns: T5900: add dont-throttle-netmasks and
serve-stale-extensions powerdns features") where after the latest review round
the Jinja2 template was inconsitently changed and smoketests were not re-run.
---
 data/templates/dns-forwarding/recursor.conf.j2 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'data/templates')

diff --git a/data/templates/dns-forwarding/recursor.conf.j2 b/data/templates/dns-forwarding/recursor.conf.j2
index deeb250f0..55b37732b 100644
--- a/data/templates/dns-forwarding/recursor.conf.j2
+++ b/data/templates/dns-forwarding/recursor.conf.j2
@@ -40,12 +40,12 @@ dnssec={{ dnssec }}
 dns64-prefix={{ dns64_prefix }}
 {% endif %}
 
-{% if dont_throttle_netmasks is vyos_defined %}
+{% if exclude_throttle_address is vyos_defined %}
 # dont-throttle-netmasks
 dont-throttle-netmasks={{ exclude_throttle_address | join(',') }}
 {% endif %}
 
-{% if serve_stale_extensions is vyos_defined %}
+{% if serve_stale_extension is vyos_defined %}
 # serve-stale-extensions
 serve-stale-extensions={{ serve_stale_extension }}
 {% endif %}
-- 
cgit v1.2.3