]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Bug #411 fix from Marc
authorDanny Mayer <mayer@ntp.org>
Sun, 23 Oct 2005 03:43:31 +0000 (23:43 -0400)
committerDanny Mayer <mayer@ntp.org>
Sun, 23 Oct 2005 03:43:31 +0000 (23:43 -0400)
bk: 435b06e3wSjEH78S22viis-nx7UwXQ

ntpd/ntp_intres.c

index 18b349e60439cea2ac8c417391d895cbbb9923b8..1c587ee17eeb4b40f97d71d2b5e8ebf96b1bbf28 100644 (file)
@@ -1075,7 +1075,7 @@ doconfigure(
                            "doconfigure: <%s> has peeraddr %s",
                            ce->ce_name, stoa(&ce->peer_store));
 #endif
-               if (dores && !SOCKNUL(&(ce->peer_store))) {
+               if (dores && SOCKNUL(&(ce->peer_store))) {
                        if (!findhostaddr(ce)) {
                                msyslog(LOG_ERR,
                                        "couldn't resolve `%s', giving up on it",