11 May
2009
11 May
'09
3:48 p.m.
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?
vp->type 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.