summaryrefslogtreecommitdiff
path: root/op-mode-definitions/zone-policy.xml.in
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2023-01-05 18:21:11 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2023-01-16 12:18:28 +0200
commit8ed0c7f09979c1fcb5769e8e352bb3fced7331be (patch)
tree82b003cdbc0619d9546af7bae948e966dd0201dc /op-mode-definitions/zone-policy.xml.in
parentc55f36d47a9241402710528c8668a3d98bec571c (diff)
downloadvyos-1x-8ed0c7f09979c1fcb5769e8e352bb3fced7331be.tar.gz
vyos-1x-8ed0c7f09979c1fcb5769e8e352bb3fced7331be.zip
firewall: T4864: Fixed show zone-policy command output
1. Fixed "show zone-policy" command output 2. Rewritten zone-policy op-mode to new style
Diffstat (limited to 'op-mode-definitions/zone-policy.xml.in')
-rw-r--r--op-mode-definitions/zone-policy.xml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/zone-policy.xml.in b/op-mode-definitions/zone-policy.xml.in
index c4b02bcee..9d65ddd3d 100644
--- a/op-mode-definitions/zone-policy.xml.in
+++ b/op-mode-definitions/zone-policy.xml.in
@@ -11,13 +11,13 @@
<properties>
<help>Show summary of zone policy for a specific zone</help>
<completionHelp>
- <path>zone-policy zone</path>
+ <path>firewall zone</path>
</completionHelp>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/zone_policy.py --action show --name $4</command>
+ <command>sudo ${vyos_op_scripts_dir}/zone.py show --zone $4</command>
</tagNode>
</children>
- <command>sudo ${vyos_op_scripts_dir}/zone_policy.py --action show</command>
+ <command>sudo ${vyos_op_scripts_dir}/zone.py show</command>
</node>
</children>
</node>