summaryrefslogtreecommitdiff
path: root/interface-definitions/include/firewall/common-rule.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-07 22:04:41 +0100
committerChristian Poessinger <christian@poessinger.com>2022-01-07 22:04:41 +0100
commitb9c2ce3e3589fe3c94d6d8d258e1bbc43571e690 (patch)
treeff3cfe920a135ebdf932162f5ea813f818fa57c7 /interface-definitions/include/firewall/common-rule.xml.i
parentc3f417986c8a7652562e213e90d5a34e09c1838b (diff)
downloadvyos-1x-b9c2ce3e3589fe3c94d6d8d258e1bbc43571e690.tar.gz
vyos-1x-b9c2ce3e3589fe3c94d6d8d258e1bbc43571e690.zip
xml: firewall: T4130: add protocol completion helper all and tcp_udp
Diffstat (limited to 'interface-definitions/include/firewall/common-rule.xml.i')
-rw-r--r--interface-definitions/include/firewall/common-rule.xml.i7
1 files changed, 6 insertions, 1 deletions
diff --git a/interface-definitions/include/firewall/common-rule.xml.i b/interface-definitions/include/firewall/common-rule.xml.i
index 727200ed7..92950cc68 100644
--- a/interface-definitions/include/firewall/common-rule.xml.i
+++ b/interface-definitions/include/firewall/common-rule.xml.i
@@ -100,6 +100,7 @@
<help>Protocol to match (protocol name, number, or "all")</help>
<completionHelp>
<script>${vyos_completion_dir}/list_protocols.sh</script>
+ <list>all tcp_udp</list>
</completionHelp>
<valueHelp>
<format>all</format>
@@ -114,8 +115,12 @@
<description>IP protocol number</description>
</valueHelp>
<valueHelp>
+ <format>&lt;protocol&gt;</format>
+ <description>IP protocol name</description>
+ </valueHelp>
+ <valueHelp>
<format>!&lt;protocol&gt;</format>
- <description>IP protocol number</description>
+ <description>IP protocol name</description>
</valueHelp>
<constraint>
<validator name="ip-protocol"/>