Jack Patmos wrote:
> I am attempting to write accounting data to Postgres database. In the
> database the NAS port type from the request is stored as the integer
> value that defines the port type in RFC2865 (e.g., 19 - 'Wireless -
> IEEE 802.11'). The database table is fixed and cannot be changed.
...
> Obviously, I can't insert 'Wireless-802.11' into an integer field in
> the database. Is there away of disabling this lookup so that
> FreeRADIUS does not translate these values when it receives a packet,
> or am I going to have to code my own reverse lookup into my accounting
> module?

  Yes, this is documented.  See "man unlang".  %{NAS-Port-Type#}

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to