summaryrefslogtreecommitdiff
path: root/src/op_mode/show_nat_translations.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/op_mode/show_nat_translations.py')
-rwxr-xr-xsrc/op_mode/show_nat_translations.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/op_mode/show_nat_translations.py b/src/op_mode/show_nat_translations.py
index db3d2bf0a..e888f3509 100755
--- a/src/op_mode/show_nat_translations.py
+++ b/src/op_mode/show_nat_translations.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
#
-# Copyright (C) 2018 VyOS maintainers and contributors
+# Copyright (C) 2020 VyOS maintainers and contributors
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 or later as
@@ -84,7 +84,7 @@ def pipe():
def process(data, stats, protocol, pipe, verbose, flowtype=''):
if not data:
return
-
+
parsed = xmltodict.parse(data)
print(headers(verbose, pipe))
@@ -104,7 +104,7 @@ def process(data, stats, protocol, pipe, verbose, flowtype=''):
timeout, use = 0, 0
rule_type = rule.get('type', '')
-
+
for meta in rule['meta']:
# print(meta)
direction = meta['@direction']