From b7f4405e4d205c1e3a65e3b1c4295a934b6b974b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 9 May 2021 11:22:25 +0200 Subject: policy: T3531: Allow route-map names to contain an underscore --- interface-definitions/include/route-map.xml.i | 4 ++-- interface-definitions/policy.xml.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/interface-definitions/include/route-map.xml.i b/interface-definitions/include/route-map.xml.i index edbe76892..88092b7d4 100644 --- a/interface-definitions/include/route-map.xml.i +++ b/interface-definitions/include/route-map.xml.i @@ -10,9 +10,9 @@ Route map name - ^[-a-zA-Z0-9.]+$ + ^[-_a-zA-Z0-9.]+$ - Route-map name can only contain alpha-numeric letters and a hyphen + Name of route-map can only contain alpha-numeric letters, hyphen and underscores diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index 08e2ce2c6..fd337396b 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -452,9 +452,9 @@ Route map name - ^[-a-zA-Z0-9.]+$ + ^[-_a-zA-Z0-9.]+$ - Route-map name can only contain alpha-numeric letters and a hyphen + Name of route-map can only contain alpha-numeric letters, hyphen and underscores #include -- cgit v1.2.3