From 93724b596dab81d9a801bb5da7fd06933e293cae Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Thu, 29 Jun 2023 08:51:33 +0200 Subject: 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' --- .../include/policy/extended-community-value-list.xml.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface-definitions/include') 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 @@ Should be in form: ASN:NN or IPADDR:NN where ASN is autonomous system number - + -- cgit v1.2.3