request value_pairs

Ivan Kalik tnt at kalik.net
Mon May 11 21:32:43 CEST 2009


> 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




More information about the Freeradius-Users mailing list