summaryrefslogtreecommitdiff
path: root/bgpd/bgp_filter.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2019-04-23 11:38:59 +0300
committerDonatas Abraitis <donatas.abraitis@gmail.com>2019-04-23 22:35:20 +0300
commita818ea74e69fa60401377a7525c2b6465243bbbd (patch)
tree83e674033b1e2910456e95bf34084ee96de606d8 /bgpd/bgp_filter.c
parentf799ea3f940dc8107e677f4349fcd542cf01305b (diff)
doc: Specify allowed chars in bgp regular expressions
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'bgpd/bgp_filter.c')
-rw-r--r--bgpd/bgp_filter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_filter.c b/bgpd/bgp_filter.c
index a788ea68f3..41fee07825 100644
--- a/bgpd/bgp_filter.c
+++ b/bgpd/bgp_filter.c
@@ -407,7 +407,7 @@ DEFUN(as_path, bgp_as_path_cmd,
"Regular expression access list name\n"
"Specify packets to reject\n"
"Specify packets to forward\n"
- "A regular-expression (1234567890_(^|[,{}() ]|$)) to match the BGP AS paths\n")
+ "A regular-expression (1234567890_^|[,{}() ]$*+.?-\\) to match the BGP AS paths\n")
{
int idx = 0;
enum as_filter_type type;
@@ -475,7 +475,7 @@ ALIAS(as_path, ip_as_path_cmd,
"Regular expression access list name\n"
"Specify packets to reject\n"
"Specify packets to forward\n"
- "A regular-expression (1234567890_(^|[,{}() ]|$)) to match the BGP AS paths\n")
+ "A regular-expression (1234567890_^|[,{}() ]$*+.?-\\) to match the BGP AS paths\n")
DEFUN(no_as_path, no_bgp_as_path_cmd,
"no bgp as-path access-list WORD <deny|permit> LINE...",
@@ -486,7 +486,7 @@ DEFUN(no_as_path, no_bgp_as_path_cmd,
"Regular expression access list name\n"
"Specify packets to reject\n"
"Specify packets to forward\n"
- "A regular-expression (1234567890_(^|[,{}() ]|$)) to match the BGP AS paths\n")
+ "A regular-expression (1234567890_^|[,{}() ]$*+.?-\\) to match the BGP AS paths\n")
{
int idx = 0;
enum as_filter_type type;
@@ -563,7 +563,7 @@ ALIAS(no_as_path, no_ip_as_path_cmd,
"Regular expression access list name\n"
"Specify packets to reject\n"
"Specify packets to forward\n"
- "A regular-expression (1234567890_(^|[,{}() ]|$)) to match the BGP AS paths\n")
+ "A regular-expression (1234567890_^|[,{}() ]$*+.?-\\) to match the BGP AS paths\n")
DEFUN (no_as_path_all,
no_bgp_as_path_all_cmd,