summaryrefslogtreecommitdiff
path: root/op-mode-definitions/nat.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-08-25 12:26:15 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-08-25 12:26:15 +0000
commit53bc8022e3beb1f817aec0d263c4d3bb379dcaf7 (patch)
tree2b8a5826f802c2f05481ffad13a228cfc2c2118e /op-mode-definitions/nat.xml.in
parent20090229009d0aa783560c74207dbccb1014ebe0 (diff)
downloadvyos-1x-53bc8022e3beb1f817aec0d263c4d3bb379dcaf7.tar.gz
vyos-1x-53bc8022e3beb1f817aec0d263c4d3bb379dcaf7.zip
op-mode: T4645: Show nat source stat missing argument --family
As we use in commit 8d4205a9 argument '--family' for the function '_get_raw_data_rules(direction, family)' we must use it and for 'nat.py show_statistics' as it get raw data from the same function
Diffstat (limited to 'op-mode-definitions/nat.xml.in')
-rw-r--r--op-mode-definitions/nat.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/nat.xml.in b/op-mode-definitions/nat.xml.in
index e89c3801f..dbc06b930 100644
--- a/op-mode-definitions/nat.xml.in
+++ b/op-mode-definitions/nat.xml.in
@@ -22,7 +22,7 @@
<properties>
<help>Show statistics for configured source NAT rules</help>
</properties>
- <command>${vyos_op_scripts_dir}/nat.py show_statistics --direction source</command>
+ <command>${vyos_op_scripts_dir}/nat.py show_statistics --direction source --family inet</command>
</node>
<node name="translations">
<properties>