summaryrefslogtreecommitdiff
path: root/op-mode-definitions/nat.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-08-26 19:30:23 +0200
committerGitHub <noreply@github.com>2022-08-26 19:30:23 +0200
commit73a627737770a6fa83e16c06b9561e2ad592d208 (patch)
tree07edc4ea3d4b0d4ff9dfe03452f193d934a5847e /op-mode-definitions/nat.xml.in
parent22b6a3f5248761e5820fd98f2b3ab2b02acca4b1 (diff)
parent5d7a5d433a97c2a51b9cad79b99938f58a24f788 (diff)
downloadvyos-1x-73a627737770a6fa83e16c06b9561e2ad592d208.tar.gz
vyos-1x-73a627737770a6fa83e16c06b9561e2ad592d208.zip
Merge pull request #1501 from sever-sever/T4650
nat: nat66: T4650: Rewrite op-mode nat translation
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 dbc06b930..ce0544390 100644
--- a/op-mode-definitions/nat.xml.in
+++ b/op-mode-definitions/nat.xml.in
@@ -45,7 +45,7 @@
<command>${vyos_op_scripts_dir}/show_nat_translations.py --type=source --verbose</command>
</node>
</children>
- <command>${vyos_op_scripts_dir}/show_nat_translations.py --type=source</command>
+ <command>${vyos_op_scripts_dir}/nat.py show_translations --direction source --family inet</command>
</node>
</children>
</node>
@@ -87,7 +87,7 @@
<command>${vyos_op_scripts_dir}/show_nat_translations.py --type=destination --verbose</command>
</node>
</children>
- <command>${vyos_op_scripts_dir}/show_nat_translations.py --type=destination</command>
+ <command>${vyos_op_scripts_dir}/nat.py show_translations --direction destination --family inet</command>
</node>
</children>
</node>