summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2022-10-27 13:55:11 +0100
committerGitHub <noreply@github.com>2022-10-27 13:55:11 +0100
commitc65931f338f49866762b155784ee68afc5c6f2f3 (patch)
tree0de4d76950d08888fa8f45246c8495bb801bb55b /op-mode-definitions
parenta61e1a78fe116bb44fe55be3493de7c4dbe8db97 (diff)
parent28b312d687291cef1e3935b7f39dc28b9e7976ef (diff)
downloadvyos-1x-c65931f338f49866762b155784ee68afc5c6f2f3.tar.gz
vyos-1x-c65931f338f49866762b155784ee68afc5c6f2f3.zip
Merge pull request #1606 from sever-sever/T4762
T4762: Add check for show nat if nat config does not exist
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>