]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo. Use the correct variable
authorAlan T. DeKok <aland@freeradius.org>
Thu, 12 Dec 2019 17:12:34 +0000 (12:12 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 12 Dec 2019 17:12:34 +0000 (12:12 -0500)
src/lib/server/cf_file.c

index 2ec86f2cf88fdb2f10d658d3ab1bd0eef24df50a..9fa7e504ad22598889e79d5dc5d4e6dde88a29cd 100644 (file)
@@ -1948,7 +1948,7 @@ do_frame:
                        /*
                         *      Allow for $TEMPLATE things
                         */
-                       if (strncasecmp(buff[1], "$TEMPLATE", 9) == 0) {
+                       if (strncasecmp(ptr, "$TEMPLATE", 9) == 0) {
                                ptr += 9;
                                fr_skip_whitespace(ptr);