]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Better option name
authorNick Porter <nick@portercomputing.co.uk>
Tue, 21 Oct 2025 15:39:29 +0000 (16:39 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 21 Oct 2025 15:39:29 +0000 (16:39 +0100)
src/modules/rlm_files/rlm_files.c
src/tests/modules/files/module.conf

index 71c0407c33e8647af92e7bc96b7188661f36bb05..a0075ab85301fa4b6be36a8d0fa3fa6cc396bc54 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("htrie_type", rlm_files_t, htype), .dflt = "auto",
+       { FR_CONF_OFFSET("lookup_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
 };
index e5a5f39fac8f19b6a807e1b6766db289858d0db1..321e1867d90e8ba9e1a3fde5f3cd6ccc028f176e 100644 (file)
@@ -43,5 +43,5 @@ files large_file {
 files string_prefix {
        key = Calling-Station-Id
        filename = $ENV{MODULE_TEST_DIR}/string_prefix
-       htrie_type = trie
+       lookup_type = trie
 }