ntpd: skip over setting next DNS resolution attempt if it is not needed
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 31 Oct 2017 15:53:23 +0000 (16:53 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 31 Oct 2017 15:53:23 +0000 (16:53 +0100)
commitd5c1482fbac71c51e3add52632cdf1f9f9e6661b
treed03c559bb5cde43f1101c0a66b3b69fdc3843585
parentf1fdda45423a0133094840c0367aef1b026635d5
ntpd: skip over setting next DNS resolution attempt if it is not needed

function                                             old     new   delta
ntpd_main                                           1177    1197     +20
resolve_peer_hostname                                127     129      +2

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ntpd.c