29 Mar
2019
29 Mar
'19
1:18 p.m.
The syntax is wrong. It should be if (........) { update <list> { &avp := value } } More information about unlang https://freeradius.org/radiusd/man/unlang.html On Fri, Mar 29, 2019 at 2:06 PM Vladislav Solovei <vladsol2009@gmail.com> wrote:
I am trying to check the "Group" attribute in "reply" list with unlang:
update reply { if (reply:Group == "level1") { &ERX-Ingress-Policy-Name = "some_policy" } }
But, something is wrong. I am getting an error: "Entry is not in "attribute = value" format"" Is it possible to do conditional checks by attribute in a list? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html