request value_pairs

James Devine fxmulder at
Mon May 11 21:39:11 CEST 2009

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

On Mon, May 11, 2009 at 1:32 PM, Ivan Kalik <tnt at> wrote:

> > I am looking at request information in a C module I am working on, and
> > there
> > are various value_pairs such as Framed-Protocol who's type is
> > PW_TYPE_INTEGER but the content is actually a string.  It does have a
> > value
> > in the dictionary and I am guessing it is being mapped from this, but
> then
> > shouldn't the type be PW_TYPE_STRING?  Or am I just looking at this
> > incorrectly?
> It is mapped in the dictionary under heading: "Integer Translations". That
> string is a human readable translation of the integer that is the
> attribute value.
> Ivan Kalik
> Kalik Informatika ISP
> -
> List info/subscribe/unsubscribe? See
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list