diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-02-18 15:26:48 +0000 |
---|---|---|
committer | Nicolas Fort <nicolasfort1988@gmail.com> | 2023-02-18 15:34:56 +0000 |
commit | 17e2fd3e2aeeb5f115a238747200da9c1400b519 (patch) | |
tree | 01c2ece509b14feef0ddaaf739944fb26e65b172 | |
parent | 1e0db9ac6e8b96d2935bd722afeae7df0d6cfd36 (diff) | |
download | vyos-1x-17e2fd3e2aeeb5f115a238747200da9c1400b519.tar.gz vyos-1x-17e2fd3e2aeeb5f115a238747200da9c1400b519.zip |
T4886: allow connection-mark 0 value, which is acceptable
-rw-r--r-- | interface-definitions/include/firewall/connection-mark.xml.i | 4 | ||||
-rw-r--r-- | interface-definitions/include/policy/route-common.xml.i | 4 |
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>
|