summaryrefslogtreecommitdiff
path: root/interface-definitions/include/policy/extended-community-value-list.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-06-29 08:51:33 +0200
committerChristian Breunig <christian@breunig.cc>2023-06-29 09:07:12 +0200
commit93724b596dab81d9a801bb5da7fd06933e293cae (patch)
tree5a7f483bf5a01621b0db89ef37229e5a863d7db3 /interface-definitions/include/policy/extended-community-value-list.xml.i
parent88282bed3b9a91f3a1cd645fee89fe38d8735de6 (diff)
downloadvyos-1x-93724b596dab81d9a801bb5da7fd06933e293cae.tar.gz
vyos-1x-93724b596dab81d9a801bb5da7fd06933e293cae.zip
policy: T4329: Fix regex for extcommunity rt #2
The previous implementation did not iterate over the communit list, so only one match criteria was supported. set policy route-map FOO rule 10 action 'permit' set policy route-map FOO rule 10 set extcommunity rt '1111:2222222' worked but on the other hand this failed: set policy route-map FOO rule 20 action 'permit' set policy route-map FOO rule 20 set extcommunity rt '6500:24 6500:23 192.168.0.1:111 192.168.0.1:222'
Diffstat (limited to 'interface-definitions/include/policy/extended-community-value-list.xml.i')
-rw-r--r--interface-definitions/include/policy/extended-community-value-list.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/policy/extended-community-value-list.xml.i b/interface-definitions/include/policy/extended-community-value-list.xml.i
index c79f78c67..33a279be1 100644
--- a/interface-definitions/include/policy/extended-community-value-list.xml.i
+++ b/interface-definitions/include/policy/extended-community-value-list.xml.i
@@ -12,4 +12,4 @@
</constraint>
<constraintErrorMessage>Should be in form: ASN:NN or IPADDR:NN where ASN is autonomous system number</constraintErrorMessage>
<multi/>
- <!-- include end -->
+<!-- include end -->