diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-08-24 20:58:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 20:58:07 +0200 |
commit | aaa83a8c19cfefd38f6cfb0831e46f537ead0e40 (patch) | |
tree | 2a51dc75eb32363c07ef6d6a38db63dbe25720b8 /op-mode-definitions | |
parent | 7577d45ef4bd87674682c9248c0059b84c58b2a3 (diff) | |
parent | 8d4205a99a9f0475da2b286d51febb36c7350e6e (diff) | |
download | vyos-1x-aaa83a8c19cfefd38f6cfb0831e46f537ead0e40.tar.gz vyos-1x-aaa83a8c19cfefd38f6cfb0831e46f537ead0e40.zip |
Merge pull request #1491 from sever-sever/T4626
nat66: T4626: Rewrite op-mode show nat66 rules
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/nat.xml.in | 4 | ||||
-rw-r--r-- | op-mode-definitions/nat66.xml.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/nat.xml.in b/op-mode-definitions/nat.xml.in index 7148c1128..e89c3801f 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>${vyos_op_scripts_dir}/nat.py show_rules --direction source</command> + <command>${vyos_op_scripts_dir}/nat.py show_rules --direction source --family inet</command> </node> <node name="statistics"> <properties> @@ -58,7 +58,7 @@ <properties> <help>Show configured destination NAT rules</help> </properties> - <command>${vyos_op_scripts_dir}/nat.py show_rules --direction destination</command> + <command>${vyos_op_scripts_dir}/nat.py show_rules --direction destination --family inet</command> </node> <node name="statistics"> <properties> diff --git a/op-mode-definitions/nat66.xml.in b/op-mode-definitions/nat66.xml.in index 1ec46eb11..aba2d6add 100644 --- a/op-mode-definitions/nat66.xml.in +++ b/op-mode-definitions/nat66.xml.in @@ -16,7 +16,7 @@ <properties> <help>Show configured source NAT66 rules</help> </properties> - <command>${vyos_op_scripts_dir}/show_nat66_rules.py --source</command> + <command>${vyos_op_scripts_dir}/nat.py show_rules --direction source --family inet6</command> </node> <node name="statistics"> <properties> @@ -58,7 +58,7 @@ <properties> <help>Show configured destination NAT66 rules</help> </properties> - <command>${vyos_op_scripts_dir}/show_nat66_rules.py --destination</command> + <command>${vyos_op_scripts_dir}/nat.py show_rules --direction destination --family inet6</command> </node> <node name="statistics"> <properties> |