From 0328ec77024df55462f2e21595f717c98f91f6e0 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 9 May 2021 18:57:39 +0200 Subject: policy: T3531: Allow prefix-list names to contain an underscore (cherry picked from commit 22382e3e6e9417972cea26abad03d1614434a074) --- templates/policy/prefix-list/node.def | 2 +- templates/policy/prefix-list6/node.def | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/policy/prefix-list/node.def b/templates/policy/prefix-list/node.def index bdf9dcec..ff283737 100644 --- a/templates/policy/prefix-list/node.def +++ b/templates/policy/prefix-list/node.def @@ -4,4 +4,4 @@ type: txt help: IP prefix-list filter val_help: Prefix list name -syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]+$" ; "prefix-list name must be alpha-numeric" +syntax:expression: pattern $VAR(@) "^[-_a-zA-Z0-9.]+$" ; "prefix-list name can only contain alpha-numeric letters, hyphen and underscores" diff --git a/templates/policy/prefix-list6/node.def b/templates/policy/prefix-list6/node.def index effbbbf2..f298dbf3 100644 --- a/templates/policy/prefix-list6/node.def +++ b/templates/policy/prefix-list6/node.def @@ -4,4 +4,4 @@ type: txt help: IPv6 prefix-list filter val_help: Prefix list name -syntax:expression: pattern $VAR(@) "^[-a-zA-Z0-9.]+$" ; "prefix-list6 name must be alpha-numeric" +syntax:expression: pattern $VAR(@) "^[-_a-zA-Z0-9.]+$" ; "prefix-list name can only contain alpha-numeric letters, hyphen and underscores" -- cgit v1.2.3