summaryrefslogtreecommitdiff
path: root/src/op_mode/dns_forwarding_statistics.py
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-04-20 15:29:25 +0000
committersever-sever <v.gletenko@vyos.io>2020-04-20 15:29:25 +0000
commit8bcc770e6604e0953c410f6e652fff7d8425e0f3 (patch)
tree6f6f5132256498e730a442d30ec7e1b594b24530 /src/op_mode/dns_forwarding_statistics.py
parent6b8a6619533c7f47a63e041efb516ad91b10b4da (diff)
downloadvyos-1x-8bcc770e6604e0953c410f6e652fff7d8425e0f3.tar.gz
vyos-1x-8bcc770e6604e0953c410f6e652fff7d8425e0f3.zip
dns-forwarding: T2255: Fix op-mode error
Diffstat (limited to 'src/op_mode/dns_forwarding_statistics.py')
-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'