summaryrefslogtreecommitdiff
path: root/op-mode-definitions/nat.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-07-28 12:37:15 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-07-28 12:37:15 +0000
commitf38729bd8d448faa578ccd5ab24b024c994522e0 (patch)
treeb39790f031774749bdd28a423e44f39e5af3cb0a /op-mode-definitions/nat.xml.in
parentb33de0bac8172f3571ffc6d46b87de0c906e1b48 (diff)
downloadvyos-1x-f38729bd8d448faa578ccd5ab24b024c994522e0.tar.gz
vyos-1x-f38729bd8d448faa578ccd5ab24b024c994522e0.zip
nat: T4543: Fix and rewrite show nat source statistics
Rewrite "show nat source statistics" Use new format 'vyos.opmode module' Ability to get raw and formatted output
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 84e999995..b0ec8989f 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}/show_nat_statistics.py --source</command>
+ <command>${vyos_op_scripts_dir}/nat.py show_statistics --direction source</command>
</node>
<node name="translations">
<properties>