How to access proxy-reply:Packet-Type in if condition
Chidanand Gangur
chidanand.gangur at gmail.com
Mon Sep 20 10:07:46 CEST 2010
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 DeKok <aland at deployingradius.com>wrote:
> 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 gets:
>
> Filter-Id = "Access-Accept"
>
>
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
--
Chidanand Gangur
Pune.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100920/d65fc765/attachment.html>
More information about the Freeradius-Users
mailing list