Event-timestamp conversion
Alan DeKok
aland at deployingradius.com
Thu Dec 13 11:04:28 CET 2007
manIP wrote:
> I have a problem when I receive a "Event-Timestamp" attribute. The
> provider assures me that he sends it in seconds (...elapsed since Jan
> 1st 1970) but My radius server "convert it into a date.
It prints it out as a date.
> For instance, the operator has sent Event-Timestamp = 1197392955 and I
> receive Event-Timestamp = "Dec 11 2007 12:09:15 EST".
FreeRADIUS receives it as seconds. It prints it as a date.
> How I could deactivate that conversion because I want that attribute is
> seconds?
Edit the source code in src/lib/print.c to print dates as unsigned
integers.
Alan DeKok.
More information about the Freeradius-Users
mailing list