[Click] Timers do not fire with date before 1970
Eddie Kohler
kohler at cs.ucla.edu
Tue Sep 21 16:54:55 EDT 2010
Roberto,
That is a strange use case.
Userlevel or kernel?
Can you tell us what clock_gettime() and/or gettimeofday() returns on this device?
I'm afraid the most I'd be willing to do is to have Click report an error on
startup if clock_gettime() or gettimeofday() returns a bogus value. But I'm
happy to discuss other fixes.
Eddie
On 08/12/2010 03:28 AM, Roberto Riggio wrote:
> Hi,
>
> it seems that timers do not fire when the system clock is set to a date
> before 1970. It may seem a strange use case, but i actually have several
> wireless routers that reset to 1910-01-01 after a reboot (there is no
> backup battery for the date).
>
> As soon as I set a date after 1970-01-01 the timers start to work again.
>
> R.
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list