Hi all, 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. For instance, the operator has sent Event-Timestamp = 1197392955 and I receive Event-Timestamp = "Dec 11 2007 12:09:15 EST". How I could deactivate that conversion because I want that attribute is seconds? Many Thanks!!
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.
participants (2)
-
Alan DeKok -
manIP