]> git.ipfire.org Git - thirdparty/systemd.git/commit
timesync: establish connection when network become online and the manager is not...
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 17 Apr 2018 18:56:12 +0000 (03:56 +0900)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Apr 2018 18:56:12 +0000 (20:56 +0200)
commit0630eb1bcc6a4c2d05e57f58bea77da36697530a
tree94cd68b830f0b625dee781199331db9be52c4838
parent3ac2e8fe178ed5ed5eda003901ead6731fbbb066
timesync: establish connection when network become online and the manager is not connected yet (#8727)

This also introduces `manager_is_connected()` helper function, which
returns true when the manager is sending a request, resolving a server
name, or in a poll interval.

Follow-up for 3e85ec072180b6fbec82d715186985536859a29d.
Fixes #8719.
src/timesync/timesyncd-manager.c