commit | c6807c4405d6dcc42d9dab23fa5f259464fdfc32 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Fri Sep 19 16:34:01 2014 +0200 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Thu Oct 09 17:46:34 2014 +0200 |
tree | 006aeab7ee384db356ac2520b5ee1db46884ed39 | |
parent | ba6267f05acbea1600360f40bd390a25cae50fbe [diff] |
gbproxy: Use monotonic system time instead of time-of-day Currently time() is used for age calculations. This time source may jump either forwards or backwards in time (NTP update, leap seconds). This patch replaces the use of time() by using clock_gettime(CLOCK_MONOTONIC) instead. Sponsored-by: On-Waves ehf