Conditional statements in dialup.conf?
James Wood
james.wood at purplewifi.com
Thu Oct 23 09:02:13 CEST 2014
Thanks,
Should the second update reply block not be this:
update request {
Acct-Input-Octets = "%{Tmp-Integer-1}"
Acct-Output-Octets = "%{Tmp-Integer-0}"
}
Else we are setting the same values and not switching them?
Thanks
James
-----Original Message-----
From:
freeradius-users-bounces+james.wood=purplewifi.com at lists.freeradius.org
[mailto:freeradius-users-bounces+james.wood=purplewifi.com at lists.freeradius.
org] On Behalf Of Alan DeKok
Sent: 22 October 2014 16:56
To: FreeRadius users mailing list
Subject: Re: Conditional statements in dialup.conf?
James Wood wrote:
> Thanks for the reply Alan. I understand the correct place to put it now.
>
> Is there a reason you are setting a new variable and then assigning that
to the next update request?
Because that's how swapping variables works.
> Would this not work?
If it worked, I would have suggested using it.
Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list