summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFileGo <emilnovak@gmail.com>2021-08-12 10:08:23 +0100
committerChristian Poessinger <christian@poessinger.com>2021-08-12 14:08:01 +0200
commitf6385813fb1def519bc9be87e493ea83f1a7059a (patch)
tree0cd48da36acabcf2f4c475369c8846b91802eb21
parent3f6e5bc3fcac66d234b8ea1d6ab98dd2178b286d (diff)
downloadvyos-1x-f6385813fb1def519bc9be87e493ea83f1a7059a.tar.gz
vyos-1x-f6385813fb1def519bc9be87e493ea83f1a7059a.zip
dns: T3744: fixed dns fwd statistics formatting
(cherry picked from commit 0f7833483c0fe4982747bbbace45a83fae793257)
-rwxr-xr-xsrc/op_mode/dns_forwarding_statistics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/dns_forwarding_statistics.py b/src/op_mode/dns_forwarding_statistics.py
index 1fb61d263..d79b6c024 100755
--- a/src/op_mode/dns_forwarding_statistics.py
+++ b/src/op_mode/dns_forwarding_statistics.py
@@ -11,7 +11,7 @@ PDNS_CMD='/usr/bin/rec_control --socket-dir=/run/powerdns'
OUT_TMPL_SRC = """
DNS forwarding statistics:
-Cache entries: {{ cache_entries -}}
+Cache entries: {{ cache_entries }}
Cache size: {{ cache_size }} kbytes
"""