Add a timestamp and a timeout attribute in ippool_info. When we assign an ip we set...
authorkkalev <kkalev>
Sun, 29 Feb 2004 13:33:17 +0000 (13:33 +0000)
committerkkalev <kkalev>
Sun, 29 Feb 2004 13:33:17 +0000 (13:33 +0000)
commitd154fafe098d4657030b14129ad4b7cb0b3b8436
treed7ec2943f48b1f0d6b18f491d8a239acccccca5f
parentf99511b690df90e405ed564cc9226bc2598653dd
Add a timestamp and a timeout attribute in ippool_info. When we assign an ip we set timestamp
to request->timestamp and timeout to %{Session-Timeout:-0}. When we search for a free entry
we check if timeout has expired. If it has then we free the entry. We also add a maximum
timeout configuration directive. If it is non zero then we also use that one to free entries.
src/modules/rlm_ippool/rlm_ippool.c