summaryrefslogtreecommitdiff
path: root/accel-pppd/cli/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/cli/cli.c')
-rw-r--r--accel-pppd/cli/cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/cli/cli.c b/accel-pppd/cli/cli.c
index a9d5a4cc..202e42dc 100644
--- a/accel-pppd/cli/cli.c
+++ b/accel-pppd/cli/cli.c
@@ -228,6 +228,7 @@ static int cli_process_regexp_cmd(struct cli_client_t *cln, int *err)
int found = 0;
int res;
+ cmd = skip_space(cmd);
list_for_each_entry(recmd, &regexp_cmd_list, entry)
if (pcre_exec(recmd->re, NULL, cmd, strlen(cmd),
0, 0, NULL, 0) >= 0) {