summaryrefslogtreecommitdiff
path: root/bgpd/bgp_regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_regex.c')
-rw-r--r--bgpd/bgp_regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_regex.c b/bgpd/bgp_regex.c
index a6b65984..be84d407 100644
--- a/bgpd/bgp_regex.c
+++ b/bgpd/bgp_regex.c
@@ -34,7 +34,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
(^|[,{}() ]|$) */
regex_t *
-bgp_regcomp (char *regstr)
+bgp_regcomp (const char *regstr)
{
/* Convert _ character to generic regular expression. */
int i, j;