chrony/chrony-retryres.patch

13 lines
444 B
Diff
Raw Normal View History

diff -up chrony-1.24/cmdparse.c.retryres chrony-1.24/cmdparse.c
--- chrony-1.24/cmdparse.c.retryres 2010-04-29 15:22:23.000000000 +0200
+++ chrony-1.24/cmdparse.c 2010-04-29 15:24:47.000000000 +0200
@@ -68,7 +68,7 @@ CPS_ParseNTPSourceAdd(const char *line,
if (s == DNS_Success) {
ok = 1;
src->name = NULL;
- } else if (s == DNS_TryAgain) {
+ } else {
ok = 1;
src->ip_addr.family = IPADDR_UNSPEC;
}