From b52f4ecc8961b0d3d2885d2d0dbc112f4a81c9b7 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 14 Jul 2024 15:21:14 +0100 Subject: firewall: T6581: fix completion for "show firewall ... rule" --- op-mode-definitions/firewall.xml.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/firewall.xml.in b/op-mode-definitions/firewall.xml.in index 6a254ee11..b6ce5bae2 100644 --- a/op-mode-definitions/firewall.xml.in +++ b/op-mode-definitions/firewall.xml.in @@ -119,7 +119,7 @@ Show summary of bridge custom firewall ruleset - firewall bridge name ${COMP_WORDS[5]} rule + firewall bridge name ${COMP_WORDS[4]} rule @@ -127,7 +127,7 @@ Show list view of bridge custom firewall rules - firewall bridge name ${COMP_WORDS[5]} rule detail + firewall bridge name ${COMP_WORDS[4]} rule detail sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8 @@ -299,7 +299,7 @@ Show summary of IPv6 custom firewall ruleset - firewall ipv6 name ${COMP_WORDS[5]} rule + firewall ipv6 name ${COMP_WORDS[4]} rule @@ -307,7 +307,7 @@ Show list view of IPv6 custom firewall rules - firewall ipv6 name ${COMP_WORDS[5]} rule detail + firewall ipv6 name ${COMP_WORDS[4]} rule detail sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8 @@ -479,7 +479,7 @@ Show summary of IPv4 custom firewall ruleset - firewall ipv4 name ${COMP_WORDS[5]} rule + firewall ipv4 name ${COMP_WORDS[4]} rule @@ -487,7 +487,7 @@ Show list view of IPv4 custom firewall ruleset - firewall ipv4 name ${COMP_WORDS[5]} rule detail + firewall ipv4 name ${COMP_WORDS[4]} rule detail sudo ${vyos_op_scripts_dir}/firewall.py --action show --family $3 --hook $4 --priority $5 --rule $7 --detail $8 -- cgit v1.2.3