Ticket #354 (new Bug report)

Opened 13 years ago

Last modified 12 years ago

Gateway uptime calculations are incorrect

Reported by: benoitg Owned by:
Priority: low Milestone: Gateway 1.1.5
Component: Gateway Version:
Keywords: Cc:


After a while, ridiculous values are returned. There must be an overflow somewhere.

Change History

Changed 12 years ago by benoitg

Philippe suggested that this may be because the gateway starts before the ntp update.

Changed 12 years ago by wichert

There is an approach that works even if ntp is started later or the system clock is changes for some other reason: check against the system uptime (/proc/uptime in linux).

Note: See TracTickets for help on using tickets.