]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use 'this' section, not the top-level one
authorAlan T. DeKok <aland@freeradius.org>
Tue, 10 Sep 2019 18:27:21 +0000 (14:27 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 10 Sep 2019 19:23:11 +0000 (15:23 -0400)
src/lib/server/cf_file.c

index c3f251f4581bde1cb7b8eaeec1cdffee28dc4312..7c01819c976cd43ce9b0c07a1d129afe76979298 100644 (file)
@@ -1397,7 +1397,7 @@ static int cf_section_read(char const *filename, int *lineno, FILE *fp,
                 *      Found nothing to get excited over.  It MUST be
                 *      a key word.
                 */
-               if (cf_get_token(current, &ptr, &name1_token, buff[1], talloc_array_length(buff[1]),
+               if (cf_get_token(this, &ptr, &name1_token, buff[1], talloc_array_length(buff[1]),
                                 buff[2], filename, lineno) < 0) {
                        goto error;
                }