Re: How to access proxy-reply:Packet-Type in if condition

2010-09-20 Thread Chidanand Gangur
Hi Alan, Sorry, I did not clearly understand your response. Are you saying that, it will be possible to write if (proxy-reply:Packet-Type == Access-Accept){ update proxy-reply{ attr = value . } } in freeRADIUS version 2.1.10 Thanks, Chidanand On Fri, Sep 17, 2010 at 2:33 PM, Alan

Re: How to access proxy-reply:Packet-Type in if condition

2010-09-20 Thread Alan DeKok
Chidanand Gangur wrote: Sorry, I did not clearly understand your response. I am saying that you can reference the proxy reply Packet-Type. It works. Are you saying that, it will be possible to write if (proxy-reply:Packet-Type == Access-Accept){ update proxy-reply{ attr = value .

Re: How to access proxy-reply:Packet-Type in if condition

2010-09-17 Thread Chidanand
Alan, can you please throw some light on this issue I am stuck. Thanks,Chidanand --- On Thu, 9/16/10, Chidanand wings...@yahoo.com wrote: From: Chidanand wings...@yahoo.com Subject: How to access proxy-reply:Packet-Type in if condition To: freeradius-users@lists.freeradius.org Date: Thursday

Re: How to access proxy-reply:Packet-Type in if condition

2010-09-17 Thread Alan DeKok
Chidanand wrote: Alan, can you please throw some light on this issue I am stuck. It works in the head of the v2.1.x branch. i.e. what will become 2.1.10. post-proxy { update reply { Filter-Id := %{proxy-reply:Packet-Type} } ... } And the client

How to access proxy-reply:Packet-Type in if condition

2010-09-16 Thread Chidanand
Hi, I am using freeRadius 2.1.9 version. I am trying to update proxy-reply message with additional attributes, I want to do it only if proxy-reply is Access-Accept. I see %{proxy-reply:Packet-Type} returns Access-Accept but I am not able to form a if condition, I see following error:  Thu Sep