]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
skip the word we matched
authorAlan T. DeKok <aland@freeradius.org>
Thu, 2 Aug 2018 16:51:50 +0000 (12:51 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 2 Aug 2018 16:51:50 +0000 (12:51 -0400)
src/lib/server/command.c

index 1ed756eac5cfa85c2e8979110c32516a3ed7b145..dabc7a46647498ac05bb55708bf8f3857bf4af9a 100644 (file)
@@ -2017,8 +2017,8 @@ int fr_command_str_to_argv(fr_cmd_t *head, fr_cmd_info_t *info, char const *text
                        goto invalid;
                }
 
-               if (!cmd->intermediate) goto check_syntax;
                word = p;
+               if (!cmd->intermediate) goto check_syntax;
        }
 
        /*