summaryrefslogtreecommitdiff
path: root/src/conf_mode/flow_accounting_conf.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-11 20:36:39 +0200
committerGitHub <noreply@github.com>2020-04-11 20:36:39 +0200
commitda03bbf8767be74957baae68bf9ffc0e9f56ddac (patch)
treebcdfb217eb1bc75d06ce5af604836c6be999a749 /src/conf_mode/flow_accounting_conf.py
parent143d292209b6ebe24f90667f2d5edd0216151163 (diff)
parent5763af8cbe7e2ad35a1eb336e77a6fe74ac2534e (diff)
downloadvyos-1x-da03bbf8767be74957baae68bf9ffc0e9f56ddac.tar.gz
vyos-1x-da03bbf8767be74957baae68bf9ffc0e9f56ddac.zip
Merge pull request #329 from thomas-mangin/T2226
util: T2226: improvement and fixes
Diffstat (limited to 'src/conf_mode/flow_accounting_conf.py')
-rwxr-xr-xsrc/conf_mode/flow_accounting_conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/flow_accounting_conf.py b/src/conf_mode/flow_accounting_conf.py
index eef32687e..54928cdfe 100755
--- a/src/conf_mode/flow_accounting_conf.py
+++ b/src/conf_mode/flow_accounting_conf.py
@@ -83,7 +83,7 @@ def _iptables_get_nflog():
for iptables_variant in ['iptables', 'ip6tables']:
# run iptables, save output and split it by lines
iptables_command = "sudo {0} -t {1} -S {2}".format(iptables_variant, iptables_nflog_table, iptables_nflog_chain)
- cmd(iptables_command, universal_newlines=True, message='Failed to get flows list')
+ cmd(iptables_command, message='Failed to get flows list')
iptables_out = stdout.splitlines()
# parse each line and add information to list