<div>Hi,<br clear="all"></div><div><br></div><div>I am using freeRADIUS verison 2.1.9.</div><div><br></div><div>I am trying to add some attribute in proxy-reply, I want to do it only if it is Access-Accept packet. I am trying to achieve it using unlang. </div>
<div>I have tried following options and none of them have worked</div><div><br></div><div>if (%{proxy-reply:Packet-Type} == 2) {</div><div>}</div><div><br></div><div>if(proxy-reply:Packet-Type == "Access-Accept"){</div>
<div>}</div><div><br></div><div>if(reply:Packet-Type == "Access-Accept"{</div><div>}</div><div><br></div><div><div>if(proxy-reply:Packet-Type == "2"){</div><div>}</div></div><div><br></div><div>Tue Sep 14 06:34:14 2010 : Info: +- entering group post-proxy {...}<br>
Tue Sep 14 06:34:14 2010 : Info: ++? if (proxy-reply:Packet-Type == "2")<br>Tue Sep 14 06:34:14 2010 : Info:     (Attribute proxy-reply:Packet-Type was not found)</div><div><br></div><div>I have read there is meta-attribute as Packet-Type but do not know how to access it,  please point me to document which explains meta-attribute or suggest me how do I access packet-type</div>
<div> </div><br>-- <br>Chidanand Gangur<br>Pune.<br>