vp_prints_value did the trick, thanks
James Devine wrote:vp->type
> 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.
Alan DeKok.