On Aug 22, 2010, at 3:06 PM, Alexander Kubatkin wrote:

> В сообщении от Воскресенье 22 августа 2010 10:48:56 автор Alan DeKok написал:
>> Alexander Kubatkin wrote:
>>> This isn't working, i'm trying to put 2 dns-servers in dhcp configuration
>>> like this:
>>> $RAD_REPLY{'DHCP-Domain-Name-Server'} = ["$ns1","$ns2"] ;

To return multiple items you have to use array ref.

Try this way. 

$data[0] = "nameserver_1";
$data[1] = "nameserver_2";

$data[2] = "nameserver_3";

$data[3] = "nameserver_x";


$RAD_REPLY{'DHCP-Domain-Name-Server'} = \...@data;


Best Regards,
Boian Jordanov
Head of Voice Department
tel. +359 2 4004 723
tel. +359 2 4004 002







-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to