]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add note on perhaps suprising behavior
authorAlan T. DeKok <aland@freeradius.org>
Thu, 5 Dec 2024 14:46:28 +0000 (09:46 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 5 Dec 2024 17:15:54 +0000 (12:15 -0500)
src/lib/bio/fd_config.c

index 2d8446c4021f150da0ba7af811e5fd487fbc0110..99d440fdd3d54cc528af49d37ee28d11f1d96830 100644 (file)
@@ -194,6 +194,12 @@ static int transport_parse(UNUSED TALLOC_CTX *ctx, void *out, void *parent, CONF
                return -1;
        }
 
+       /*
+        *      Note that these offsets will get interpreted as being
+        *      offsets from base of the subsection.  i.e. the parent
+        *      section and the subsection have to be parsed with the
+        *      same base pointer.
+        */
        if (cf_section_rules_push(subcs, rules) < 0) {
                cf_log_perr(ci, "Failed updating parse rules");
                return -1;