ntpd: do not use a peer more than once (say, if two peers resolve to the same IP)
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Mar 2016 06:06:53 +0000 (07:06 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 4 Mar 2016 06:06:53 +0000 (07:06 +0100)
commitf37f28199f508f5fee44753d320f044a91e76e39
treee2e06a1faa1617dda7d14ed3b43a2ab826dc7a9f
parent4c48a6474701d8b396a14213ebcc979a49187faf
ntpd: do not use a peer more than once (say, if two peers resolve to the same IP)

function                                             old     new   delta
add_peers                                             98     166     +68

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