diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vty/talloc_ctx_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vty/talloc_ctx_vty.c b/src/vty/talloc_ctx_vty.c index c4d5a888..16cb7635 100644 --- a/src/vty/talloc_ctx_vty.c +++ b/src/vty/talloc_ctx_vty.c @@ -199,7 +199,7 @@ DEFUN(show_talloc_ctx_filter, show_talloc_ctx_filter_cmd, int rc; /* Attempt to compile a regular expression */ - rc = regcomp(¶ms.regexp, argv[2], 0); + rc = regcomp(¶ms.regexp, argv[2], REG_NOSUB); if (rc) { vty_out(vty, "Invalid expression%s", VTY_NEWLINE); return CMD_WARNING; |