From: Alan T. DeKok Date: Thu, 5 Dec 2024 14:46:28 +0000 (-0500) Subject: add note on perhaps suprising behavior X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e40ebb5e748c92aa3455f89e7822b1b9af4e585;p=thirdparty%2Ffreeradius-server.git add note on perhaps suprising behavior --- diff --git a/src/lib/bio/fd_config.c b/src/lib/bio/fd_config.c index 2d8446c4021..99d440fdd3d 100644 --- a/src/lib/bio/fd_config.c +++ b/src/lib/bio/fd_config.c @@ -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;