request value_pairs

James Devine fxmulder at gmail.com
Mon May 11 22:34:55 CEST 2009


vp_prints_value did the trick, thanks

On Mon, May 11, 2009 at 1:48 PM, Alan DeKok <aland at deployingradius.com>wrote:

> 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.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090511/f2288951/attachment.html>


More information about the Freeradius-Users mailing list