diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-08-24 11:34:38 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-08-24 11:34:38 +0000 |
commit | 8d4205a99a9f0475da2b286d51febb36c7350e6e (patch) | |
tree | 3b79de8a3d8e9c7e9353af82a7ab5dd058135c90 /op-mode-definitions/nat.xml.in | |
parent | f66ad001e153ee42bc46edbe7df55145b7971544 (diff) | |
download | vyos-1x-8d4205a99a9f0475da2b286d51febb36c7350e6e.tar.gz vyos-1x-8d4205a99a9f0475da2b286d51febb36c7350e6e.zip |
nat66: T4626: Rewrite op-mode show nat66 rules
Rewrite op-mode "show nat66 source|destination rules" to the
new format
use "show_rules --direction <direction> --family <inet|inet6>"
Delete old script show_nat66_rules.py
Diffstat (limited to 'op-mode-definitions/nat.xml.in')
-rw-r--r-- | op-mode-definitions/nat.xml.in | 4 |
1 files changed, 2 insertions, 2 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> |