summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-18 19:43:52 +0100
committerGitHub <noreply@github.com>2023-02-18 19:43:52 +0100
commit75c741d5d4fcd9fd07077601106532c41ad9b118 (patch)
tree01c2ece509b14feef0ddaaf739944fb26e65b172 /interface-definitions/include
parent1e0db9ac6e8b96d2935bd722afeae7df0d6cfd36 (diff)
parent17e2fd3e2aeeb5f115a238747200da9c1400b519 (diff)
downloadvyos-1x-75c741d5d4fcd9fd07077601106532c41ad9b118.tar.gz
vyos-1x-75c741d5d4fcd9fd07077601106532c41ad9b118.zip
Merge pull request #1831 from nicolas-fort/T4886-add-cero-matcher
T4886: allow connection-mark 0 value, which is acceptable
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/firewall/connection-mark.xml.i4
-rw-r--r--interface-definitions/include/policy/route-common.xml.i4
2 files changed, 4 insertions, 4 deletions
diff --git a/interface-definitions/include/firewall/connection-mark.xml.i b/interface-definitions/include/firewall/connection-mark.xml.i
index 2cb826635..69f7fe62c 100644
--- a/interface-definitions/include/firewall/connection-mark.xml.i
+++ b/interface-definitions/include/firewall/connection-mark.xml.i
@@ -3,11 +3,11 @@
<properties>
<help>Connection mark</help>
<valueHelp>
- <format>u32:1-2147483647</format>
+ <format>u32:0-2147483647</format>
<description>Connection-mark to match</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 1-2147483647"/>
+ <validator name="numeric" argument="--range 0-2147483647"/>
</constraint>
<multi/>
</properties>
diff --git a/interface-definitions/include/policy/route-common.xml.i b/interface-definitions/include/policy/route-common.xml.i
index 6973d7a8f..216ec9bea 100644
--- a/interface-definitions/include/policy/route-common.xml.i
+++ b/interface-definitions/include/policy/route-common.xml.i
@@ -163,11 +163,11 @@
<properties>
<help>Connection marking</help>
<valueHelp>
- <format>u32:1-2147483647</format>
+ <format>u32:0-2147483647</format>
<description>Connection marking</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 1-2147483647"/>
+ <validator name="numeric" argument="--range 0-2147483647"/>
</constraint>
</properties>
</leafNode>