]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
Update redis_ippool to allow for static IP allocation
authorNick Porter <nick@portercomputing.co.uk>
Mon, 15 May 2023 16:42:21 +0000 (17:42 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 8 Jun 2023 14:13:48 +0000 (10:13 -0400)
commitdf48890e9ccbb499dce2caa14039dcc6d31a1ebd
treec715cc616b1041b082f28579bd3e0d8596687ec8
parent427b84aa210716494e7693b3297d75304e2500fe
Update redis_ippool to allow for static IP allocation

Static allocations are defined by a ZSCORE with bit 52 set in the <pool_name>:pool ZSET and pre-created entries in the <pool_name>:ip:<address> hash and <pool_name>:device:<owner> key
src/modules/rlm_redis_ippool/redis_ippool.h
src/modules/rlm_redis_ippool/rlm_redis_ippool.c