On 12/19/2014 02:18 PM, Arthur Konovalov wrote:

>       if (my @medintflowstat = $medintstat->get_attr(1086, 193)) {

> My problem is that hook doesn't parse second  "Media-Flow-Statistics"
> AVP group and I have in output ony these:

Hello Arthur,

thanks for your message with the capture file and other details. I think
the problem gets fixed when you change get_attr() to get_attrs(). Now
it's fetching only the first instance of Media-Flow-Statistics (1086)
instead of all (both) of them.

Thanks,
Heikki

-- 
Heikki Vatiainen <[email protected]>

Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS,
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS,
NetWare etc.
_______________________________________________
radiator mailing list
[email protected]
http://www.open.com.au/mailman/listinfo/radiator

Reply via email to