summaryrefslogtreecommitdiff
path: root/src/op_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-20 19:31:41 +0200
committerGitHub <noreply@github.com>2020-04-20 19:31:41 +0200
commitfa7d691122683f1b4869d56be8cb2d7665814f9d (patch)
tree580b832d33eb57dc5088479330df4f3114f7ba28 /src/op_mode
parentae6f1052b1d90f0f56a367c661c810608527f4d6 (diff)
parent8bcc770e6604e0953c410f6e652fff7d8425e0f3 (diff)
downloadvyos-1x-fa7d691122683f1b4869d56be8cb2d7665814f9d.tar.gz
vyos-1x-fa7d691122683f1b4869d56be8cb2d7665814f9d.zip
Merge pull request #359 from sever-sever/dns-for-stat
dns-forwarding: T2255: Fix op-mode error
Diffstat (limited to 'src/op_mode')
-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 8ae92beb7..1fb61d263 100755
--- a/src/op_mode/dns_forwarding_statistics.py
+++ b/src/op_mode/dns_forwarding_statistics.py
@@ -4,7 +4,7 @@ import jinja2
from sys import exit
from vyos.config import Config
-from vyos.config import cmd
+from vyos.util import cmd
PDNS_CMD='/usr/bin/rec_control --socket-dir=/run/powerdns'