[avahi] [PATCH] Support for monotonic clock
mb0dm3r at gmail.com
Wed Mar 11 15:02:13 PDT 2015
Hi, on our 32bit Linux embedded systems Avahi stopped publishing
services when time was stepped backwards.
This was due to Avahi using gettimeofday() to measure elapsed time. This
function takes it's values from CLOCK_REALTIME. However to measure
elapsed time CLOCK_MONOTONIC should be used instead to prevent
unpredictable behaviour. My attached patch here fixes this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 10806 bytes
Desc: not available
More information about the avahi