aland at deployingradius.com
Mon May 11 21:48:13 CEST 2009
James Devine wrote:
> This mapping is working correctly. When looking at the VALUE_PAIR
> struct for the Framed-Protocol attribute, how do I determine that the
> contents of VALUE_PAIR_DATA data; are actually a string and not an
> integer without prior knowledge?
And Framed-Protocol is an integer type. See vp->vp_integer.
This should all be very clear from the existing code. Simply grep the
code for PW_FRAMED_PROTOCOL, or PW_TYPE_INTEGER, and see what it does.
More information about the Freeradius-Users