]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Set option name in correct module
authorNick Porter <nick@portercomputing.co.uk>
Mon, 20 Oct 2025 09:36:02 +0000 (10:36 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 20 Oct 2025 09:36:02 +0000 (10:36 +0100)
src/modules/rlm_cache/drivers/rlm_cache_htrie/rlm_cache_htrie.c
src/modules/rlm_files/rlm_files.c

index d2aede9ee4d552b012cdfa61affd49ca88a6f1a5..af2776b908f9d5f9b9d184dad6bc9b193ea9d2dc 100644 (file)
@@ -60,7 +60,7 @@ typedef struct {
 } rlm_cache_htrie_entry_t;
 
 static conf_parser_t driver_config[] = {
-       { FR_CONF_OFFSET("htrie_type", rlm_cache_htrie_t, htype), .dflt = "auto",
+       { FR_CONF_OFFSET("type", rlm_cache_htrie_t, htype), .dflt = "auto",
          .func = cf_htrie_type_parse,
          .uctx = &(cf_table_parse_ctx_t){ .table = fr_htrie_type_table, .len = &fr_htrie_type_table_len }  },
        CONF_PARSER_TERMINATOR
index 0be1642dbd4558c4f2a2f31086fea69def274492..71c0407c33e8647af92e7bc96b7188661f36bb05 100644 (file)
@@ -81,7 +81,7 @@ fr_dict_attr_autoload_t rlm_files_dict_attr[] = {
 static const conf_parser_t module_config[] = {
        { FR_CONF_OFFSET_FLAGS("filename", CONF_FLAG_REQUIRED | CONF_FLAG_FILE_READABLE, rlm_files_t, filename) },
        { FR_CONF_OFFSET("v3_compat", rlm_files_t, v3_compat) },
-       { FR_CONF_OFFSET("type", rlm_files_t, htype), .dflt = "auto",
+       { FR_CONF_OFFSET("htrie_type", rlm_files_t, htype), .dflt = "auto",
          .func = cf_table_parse_int, .uctx = &(cf_table_parse_ctx_t){ .table = fr_htrie_type_table, .len = &fr_htrie_type_table_len } },
        CONF_PARSER_TERMINATOR
 };