Hello, Daniel-Constantin!
Hello,
send a separate patch attached as file. Being the same as integer, I assume PW_TYPE_IPADDR is only of IPv4. Is an equivalent for IPv6?
Consider http://www.rfc-editor.org/errata_search.php?rfc=3162
--VERIFIER NOTES-- The common terminology is known by RADIUS implementers. Every RADIUS implementor "knows what this means". i.e. "Address" in RFC 2865 means "ipaddr", and "Address" in RFC 3162 means "ipv6addr".
As we see it different types. In current parsing misc_radius just skip all attributes except string, integer, ipaddr with warning ("attribute %d is not of type integer").
I think need complete support for all attributes types with typecast in avp's: integer and string.
Maybe part of typecasts will useful in common transformations.
-- WBR, Victor JID: coyote@bks.tv JID: coyote@bryansktel.ru I use FREE operation system: 3.8.4-calculate GNU/Linux