]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Handle un-used rlm_cache instances using htrie driver
authorNick Porter <nick@portercomputing.co.uk>
Tue, 25 Mar 2025 09:22:29 +0000 (09:22 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 25 Mar 2025 11:08:53 +0000 (11:08 +0000)
commitf55c4d153d24af940e4d1b59283aecb1053c56c0
treefd6aeca4ee2d053c256b5efbd43c085bfcccb2d7
parent46ff3d5ea3fae78a9a2d45e01657dc9a5fac0aa0
Handle un-used rlm_cache instances using htrie driver

When a module instance using the htrie driver is not used in policy, and
has it's type set to `auto`, it will still have htype FR_HTRIE_AUTO when
the module is instantiated.

In this case, exit driver instantiation early.
src/modules/rlm_cache/drivers/rlm_cache_htrie/rlm_cache_htrie.c