summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-07-30 09:00:45 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-07-30 09:00:45 +0000
commitfa8a09089af3a9062ae4f4f0ebc8c8474d870783 (patch)
tree9573c835023421da71ec5fc9601c032bba301295 /op-mode-definitions
parent2a9a2cfa12e87ae1b300354aeb3bdf7b10059d26 (diff)
downloadvyos-1x-fa8a09089af3a9062ae4f4f0ebc8c8474d870783.tar.gz
vyos-1x-fa8a09089af3a9062ae4f4f0ebc8c8474d870783.zip
nat: T4089: Rewrite show nat destination rules
Rewrite op-mode "show nat destination rules" to new format use "show_rules --direction destination" Delete old script "show_nat_rules.py"
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 b0ec8989f..7148c1128 100644
--- a/op-mode-definitions/nat.xml.in
+++ b/op-mode-definitions/nat.xml.in
@@ -58,7 +58,7 @@
<properties>
<help>Show configured destination NAT rules</help>
</properties>
- <command>${vyos_op_scripts_dir}/show_nat_rules.py --destination</command>
+ <command>${vyos_op_scripts_dir}/nat.py show_rules --direction destination</command>
</node>
<node name="statistics">
<properties>