Ticket #354 (new Bug report)

Opened 15 years ago

Last modified 13 years ago

Gateway uptime calculations are incorrect

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

Description

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

Change History

Changed 14 years ago by benoitg

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

Changed 13 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.