28 Feb
2013
28 Feb
'13
12:15 p.m.
On 28/02/13 13:36, Igor Smitran wrote:
I've added two new fields into radippool table that i am using for DHCP dynamic pools.
`gateway` varchar(15) NOT NULL DEFAULT '', `netmask` varchar(15) NOT NULL DEFAULT '',
in ippool-dhcp.conf i've added new fields:
allocate-find = "SELECT framedipaddress,gateway,netmask FROM ${ippool_table} ....
I am not able to figure out how to address new fields inside policy.conf. Is it even possible?
I don't think so. The sqlippool module has large parts of the logic in C code, including which columns it expects the query to return and what it does with them.