summaryrefslogtreecommitdiff
path: root/op-mode-definitions/nat.xml.in
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-03-13 15:03:53 +0800
committerjack9603301 <jack9603301@163.com>2021-03-13 18:00:51 +0800
commitf0d0a572af9663a3dbbdbf5bbe9631a30235637f (patch)
tree582f1a9b68d5e71c9dd240c6e4e53480337c496e /op-mode-definitions/nat.xml.in
parentca08d8dc51ef93bfd5429c331ea919fe77ac8b39 (diff)
downloadvyos-1x-f0d0a572af9663a3dbbdbf5bbe9631a30235637f.tar.gz
vyos-1x-f0d0a572af9663a3dbbdbf5bbe9631a30235637f.zip
nat: nat66: T2518: Support operation mode command
Diffstat (limited to 'op-mode-definitions/nat.xml.in')
-rw-r--r--op-mode-definitions/nat.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/nat.xml.in b/op-mode-definitions/nat.xml.in
index 4b09816f9..949400eba 100644
--- a/op-mode-definitions/nat.xml.in
+++ b/op-mode-definitions/nat.xml.in
@@ -16,7 +16,7 @@
<properties>
<help>Show configured source NAT rules</help>
</properties>
- <command>echo To be migrated to Python - Phabricator T2459</command>
+ <command>${vyos_op_scripts_dir}/show_nat_rules.py --source</command>
</node>
<node name="statistics">
<properties>
@@ -58,7 +58,7 @@
<properties>
<help>Show configured destination NAT rules</help>
</properties>
- <command>echo To be migrated to Python - Phabricator T2459</command>
+ <command>${vyos_op_scripts_dir}/show_nat_rules.py --destination</command>
</node>
<node name="statistics">
<properties>