summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-24 18:22:49 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-24 18:23:39 +0200
commit2b06653a824f21bf5b3a843f109f99096e7500ff (patch)
tree01934e9dbfbcba2928b90440aa5ba3aa53c1c6db /src
parent92edd930c49b63247dbbcc370c9f93b3456cb855 (diff)
downloadvyos-1x-2b06653a824f21bf5b3a843f109f99096e7500ff.tar.gz
vyos-1x-2b06653a824f21bf5b3a843f109f99096e7500ff.zip
dns: forwarding: T2921: template cleanup
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/dns_forwarding.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/dns_forwarding.py b/src/conf_mode/dns_forwarding.py
index 53bc37882..d6eb76d91 100755
--- a/src/conf_mode/dns_forwarding.py
+++ b/src/conf_mode/dns_forwarding.py
@@ -148,10 +148,10 @@ def generate(dns):
return None
render(pdns_rec_config_file, 'dns-forwarding/recursor.conf.tmpl',
- dns, user=pdns_rec_user, group=pdns_rec_group)
+ dns, trim_blocks=True, user=pdns_rec_user, group=pdns_rec_group)
render(pdns_rec_lua_conf_file, 'dns-forwarding/recursor.conf.lua.tmpl',
- dns, user=pdns_rec_user, group=pdns_rec_group)
+ dns, trim_blocks=True, user=pdns_rec_user, group=pdns_rec_group)
# if vyos-hostsd didn't create its files yet, create them (empty)
for f in [pdns_rec_hostsd_lua_conf_file, pdns_rec_hostsd_zones_file]: