summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-04 18:24:04 +0100
committerGitHub <noreply@github.com>2022-01-04 18:24:04 +0100
commit7330c4eff26f8a388cf476ed5f38894e137252f1 (patch)
treeb23340aee20f11503c478eafa91a4a73fe569b48
parent367c2964d6b89ca1707be99e6cbacedc123a53c9 (diff)
parent5f2c965d28f77afb2313491e1f0508a8f2ff635e (diff)
downloadvyos-1x-7330c4eff26f8a388cf476ed5f38894e137252f1.tar.gz
vyos-1x-7330c4eff26f8a388cf476ed5f38894e137252f1.zip
Merge pull request #1132 from sever-sever/T4134
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>