]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: Specify allowed chars in bgp regular expressions
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 23 Apr 2019 08:38:59 +0000 (11:38 +0300)
committerDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 25 Jun 2019 05:55:20 +0000 (08:55 +0300)
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
bgpd/bgp_filter.c
bgpd/bgp_route.c

index b02215db3de4d5bd309f13a9a07f1e03c4b78595..592ceef80c8f77126847ec0225a3247b5528813e 100644 (file)
@@ -409,7 +409,7 @@ DEFUN(ip_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")
 {
        int idx = 0;
        enum as_filter_type type;
@@ -467,7 +467,7 @@ DEFUN(no_ip_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")
 {
        int idx = 0;
        enum as_filter_type type;
index b6b05434d471205eb48efec3715fa58c11bbbb36..e59bcae78323756ae4ade830a275d8454b6d2fd5 100644 (file)
@@ -9391,7 +9391,7 @@ DEFUN (show_ip_bgp_regexp,
        BGP_AFI_HELP_STR
        BGP_SAFI_WITH_LABEL_HELP_STR
        "Display routes matching the AS path regular expression\n"
-       "A regular-expression to match the BGP AS paths\n")
+       "A regular-expression (1234567890_^|[,{}() ]$*+.?-\\) to match the BGP AS paths\n")
 {
        afi_t afi = AFI_IP6;
        safi_t safi = SAFI_UNICAST;