(RADIATOR) Accessing pool from CheckPoolQuery

Andrew Stevenson andrews at ntt.net.au
Wed Feb 25 23:46:06 CST 2004


On Wed, 25 Feb 2004, Hugh Irvine wrote:

> You can either specify multiple pools in the AddressAllocator SQL
> clause, or you can specify multiple AddressAllocator SQL clauses.
>
> Have a look at the code in "Radius/AddressAllocatorSQL.pm".

I've patched AddressAllocatorSQL.pm to pass the pool to AllocateQuery and
CheckPoolQuery but obtaining the pool in DeallocateQuery is prooving
awkward. It seems I either need to find some way of storing the pool id in
the session table so I can find which pool the IP address needs returning
in or to have an AddressAllocator for every pool (identical expect the
pool hardcoded in some SQL statements).

Am I misunderstanding? I'm not quite sure I understand your
instructions...

Thanks,

Andrew
--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list