summaryrefslogtreecommitdiff
path: root/interface-definitions/policy-local-route.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-09-27 14:05:22 +0000
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-09-28 15:06:56 +0000
commit8953f97829b1ae583d5b9b2bd47edc8095a8f144 (patch)
treeb0fbf5ad5383a0f54df23ed5ea3d65afff5edf7e /interface-definitions/policy-local-route.xml.in
parent7c2a0e781e2391f50738e2b29011dfd25b60075c (diff)
downloadvyos-1x-8953f97829b1ae583d5b9b2bd47edc8095a8f144.tar.gz
vyos-1x-8953f97829b1ae583d5b9b2bd47edc8095a8f144.zip
T5165: Add option protocol for policy local-route
Add option `protocol` for policy local-route set policy local-route rule 100 destination '192.0.2.12' set policy local-route rule 100 protocol 'tcp' set policy local-route rule 100 set table '100' (cherry picked from commit 96b8b38a3c17aa08fa964eef9141cf89f1c1d442)
Diffstat (limited to 'interface-definitions/policy-local-route.xml.in')
-rw-r--r--interface-definitions/policy-local-route.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/policy-local-route.xml.in b/interface-definitions/policy-local-route.xml.in
index 8619e839e..0a5b81dfa 100644
--- a/interface-definitions/policy-local-route.xml.in
+++ b/interface-definitions/policy-local-route.xml.in
@@ -53,6 +53,7 @@
</constraint>
</properties>
</leafNode>
+ #include <include/policy/local-route_rule_protocol.xml.i>
<leafNode name="source">
<properties>
<help>Source address or prefix</help>