summaryrefslogtreecommitdiff
path: root/interface-definitions/policy.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-06-18 08:03:51 +0200
committerChristian Poessinger <christian@poessinger.com>2022-06-18 08:03:51 +0200
commit300535e2b8b7897bc95ab2b186b4e29ebf987332 (patch)
treee6052b7f4948be29632a2bb5f1a6f061c97a16a0 /interface-definitions/policy.xml.in
parenta92e6b272b170339ad0c40cd4c747ebf40d69f7b (diff)
downloadvyos-1x-300535e2b8b7897bc95ab2b186b4e29ebf987332.tar.gz
vyos-1x-300535e2b8b7897bc95ab2b186b4e29ebf987332.zip
policy: T4467: bugfix relative (+/-) increase of metric
Diffstat (limited to 'interface-definitions/policy.xml.in')
-rw-r--r--interface-definitions/policy.xml.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in
index 83ae714b4..a56514c9c 100644
--- a/interface-definitions/policy.xml.in
+++ b/interface-definitions/policy.xml.in
@@ -852,7 +852,7 @@
<validator name="ipv6-address"/>
</constraint>
</properties>
- </leafNode>
+ </leafNode>
<leafNode name="access-list">
<properties>
<help>IPv6 access-list to match</help>
@@ -1411,6 +1411,7 @@
<description>Metric value</description>
</valueHelp>
<constraint>
+ <validator name="numeric" argument="--relative --"/>
<validator name="numeric" argument="--range 0-4294967295"/>
</constraint>
</properties>