]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: use async name resolving for NTP sources
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 25 Apr 2014 14:58:21 +0000 (16:58 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 29 Apr 2014 10:43:03 +0000 (12:43 +0200)
commit6ee357d2304dec43ca6decad222710ba3fa46571
tree9d21fd3c0d79a5abab03d90a15242f251b7bf6df
parent779e40ed66ca36e1f0dc1a870527a5dfc553fa2f
ntp: use async name resolving for NTP sources

Use the new asynchronous call to resolve addresses of NTP servers
configured by the server/peer directives. Introduce a callback to be
notified when the first resolving attempt ends to correctly finish
chronyd initialization (dumpfile reload and reference mode end).
conf.c
main.c
ntp_sources.c
ntp_sources.h