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 be84d407..9b65f7cb 100644
--- a/bgpd/bgp_regex.c
+++ b/bgpd/bgp_regex.c
@@ -66,7 +66,7 @@ bgp_regcomp (const char *regstr)
regex = XMALLOC (MTYPE_BGP_REGEXP, sizeof (regex_t));
- ret = regcomp (regex, magic_str, REG_EXTENDED);
+ ret = regcomp (regex, magic_str, REG_EXTENDED|REG_NOSUB);
XFREE (MTYPE_TMP, magic_str);