]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: cache - use clock_boottime_or_monotonic()
authorTom Gundersen <teg@jklm.no>
Tue, 28 Jul 2015 00:45:04 +0000 (02:45 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 3 Aug 2015 11:42:44 +0000 (13:42 +0200)
commit240b589b143311fda721701312ec15021e96caf9
tree963d692d76c5c1726959255ddeeb88221fec8da9
parentb04d9f28718fe551ff8668e9c2eac2b2283e27ca
resolved: cache - use clock_boottime_or_monotonic()

We cannot rely on CLOCK_BOOTTIME being supported by the kernel, so fallack
to CLOCK_MONOTONIC if the former is not supported.
src/resolve/resolved-dns-cache.c