summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-15 12:13:01 +0200
committerGitHub <noreply@github.com>2021-08-15 12:13:01 +0200
commit2e15f551713fa4a8663415c1e30bbc50cd094050 (patch)
treecda89a9c4eab8b48102f3c830c4c65c1c365637e /interface-definitions
parentedcf31d239688a452f8db874e4ffcfac96f583fb (diff)
parenta378822f26268c1e8cbfcf754e5cad5c310c7c3c (diff)
downloadvyos-1x-2e15f551713fa4a8663415c1e30bbc50cd094050.tar.gz
vyos-1x-2e15f551713fa4a8663415c1e30bbc50cd094050.zip
Merge pull request #944 from sever-sever/T3702
pbr: T3702: Add rules match fwmark
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/policy-local-route.xml.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/policy-local-route.xml.in b/interface-definitions/policy-local-route.xml.in
index 3769c3748..86445b65d 100644
--- a/interface-definitions/policy-local-route.xml.in
+++ b/interface-definitions/policy-local-route.xml.in
@@ -40,6 +40,18 @@
</leafNode>
</children>
</node>
+ <leafNode name="fwmark">
+ <properties>
+ <help>Match fwmark value</help>
+ <valueHelp>
+ <format>u32:1-2147483647</format>
+ <description>Address to match against</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-2147483647"/>
+ </constraint>
+ </properties>
+ </leafNode>
<leafNode name="source">
<properties>
<help>Source address or prefix</help>