How can I output Cisco-AVPair Attributes in linelog?
Ivan Kalik
tnt at kalik.net
Tue Oct 6 17:37:17 CEST 2009
> Is usage of Cisco-AVPair, or other similar variables, common enough to
> include code for it? For example, perhaps they could be accessed via a
> Perl hash-like structure as %{Cisco-AVPair[ssid]} to get "TEST" from
> Cisco-AVPair = "ssid=TEST". I don't think the coe would be hard to
> write, but I have no idea where it would fit in.
Do guidlines from man unlang work in perl? If they do, you can get number
of avpairs from %{Cisco-AVPair[#]}, and the loop through
%{Cisco-AVPair[i]} until you find the one with ssid.
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list