summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2022-01-04 13:22:06 +0000
committerViacheslav <v.gletenko@vyos.io>2022-01-04 13:22:06 +0000
commit5f2c965d28f77afb2313491e1f0508a8f2ff635e (patch)
treeaa6f2f4a2982fdd2808734ce6275a1416b1a30dd
parent993b87458456bc6fcbe5aa7fbc7c0c31580032ce (diff)
downloadvyos-1x-5f2c965d28f77afb2313491e1f0508a8f2ff635e.tar.gz
vyos-1x-5f2c965d28f77afb2313491e1f0508a8f2ff635e.zip
firewall: T4134: Fix completion help for protocols
-rw-r--r--interface-definitions/include/firewall/common-rule.xml.i2
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>