summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-10-20 11:42:38 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-10-20 11:42:38 +0000
commit6acf41ea7d11d549cb4453f9aa6f66aaa121aa5e (patch)
tree1f404d00ab4fdea117807d7942adf831fe5dd8ce /op-mode-definitions
parent8403848a338d54f9e489fca1efd1143d820a14a6 (diff)
downloadvyos-1x-6acf41ea7d11d549cb4453f9aa6f66aaa121aa5e.tar.gz
vyos-1x-6acf41ea7d11d549cb4453f9aa6f66aaa121aa5e.zip
T4763: Use nat.py for show nat destination statistics
Use nat.py instead of old op-mode script
Diffstat (limited to 'op-mode-definitions')
-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 ce0544390..50abb1555 100644
--- a/op-mode-definitions/nat.xml.in
+++ b/op-mode-definitions/nat.xml.in
@@ -64,7 +64,7 @@
<properties>
<help>Show statistics for configured destination NAT rules</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_nat_statistics.py --destination</command>
+ <command>${vyos_op_scripts_dir}/nat.py show_statistics --direction destination --family inet</command>
</node>
<node name="translations">
<properties>