summaryrefslogtreecommitdiff
path: root/src/op_mode/nat.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-25 18:55:12 +0200
committerGitHub <noreply@github.com>2022-08-25 18:55:12 +0200
commit6d82dab3c2e8a32c0dafb8c61789f3a6767191c8 (patch)
tree8c68bcdcc510db851976b2790f707ec54ef6a32d /src/op_mode/nat.py
parent4f5f01f6a4f01395ba470713c890afd737fecd0d (diff)
parent53bc8022e3beb1f817aec0d263c4d3bb379dcaf7 (diff)
downloadvyos-1x-6d82dab3c2e8a32c0dafb8c61789f3a6767191c8.tar.gz
vyos-1x-6d82dab3c2e8a32c0dafb8c61789f3a6767191c8.zip
Merge pull request #1497 from sever-sever/T4645
op-mode: T4645: Show nat source statistics missing argument --family
Diffstat (limited to 'src/op_mode/nat.py')
-rwxr-xr-xsrc/op_mode/nat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/op_mode/nat.py b/src/op_mode/nat.py
index 2dffc378b..dec04aa48 100755
--- a/src/op_mode/nat.py
+++ b/src/op_mode/nat.py
@@ -188,8 +188,8 @@ def show_rules(raw: bool, direction: str, family: str):
return _get_formatted_output_rules(nat_rules, direction, family)
-def show_statistics(raw: bool, direction: str):
- nat_statistics = _get_raw_data_rules(direction)
+def show_statistics(raw: bool, direction: str, family: str):
+ nat_statistics = _get_raw_data_rules(direction, family)
if raw:
return nat_statistics
else: