diff options
author | Viacheslav <v.gletenko@vyos.io> | 2022-01-04 13:22:06 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2022-01-04 13:22:06 +0000 |
commit | 5f2c965d28f77afb2313491e1f0508a8f2ff635e (patch) | |
tree | aa6f2f4a2982fdd2808734ce6275a1416b1a30dd /interface-definitions | |
parent | 993b87458456bc6fcbe5aa7fbc7c0c31580032ce (diff) | |
download | vyos-1x-5f2c965d28f77afb2313491e1f0508a8f2ff635e.tar.gz vyos-1x-5f2c965d28f77afb2313491e1f0508a8f2ff635e.zip |
firewall: T4134: Fix completion help for protocols
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/firewall/common-rule.xml.i | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/firewall/common-rule.xml.i b/interface-definitions/include/firewall/common-rule.xml.i index 415b6bf00..727200ed7 100644 --- a/interface-definitions/include/firewall/common-rule.xml.i +++ b/interface-definitions/include/firewall/common-rule.xml.i @@ -99,7 +99,7 @@ <properties> <help>Protocol to match (protocol name, number, or "all")</help> <completionHelp> - <script>cat /etc/protocols | sed -e '/^#.*/d' | awk '{ print $1 }'</script> + <script>${vyos_completion_dir}/list_protocols.sh</script> </completionHelp> <valueHelp> <format>all</format> |