diff --git a/ntp_sources.c b/ntp_sources.c index 8afef5e..a81007a 100644 --- a/ntp_sources.c +++ b/ntp_sources.c @@ -610,7 +610,7 @@ NSR_TakeSourcesOffline(IPAddr *mask, IPAddr *address) } /* Take sync peer offline as last to avoid reference switching */ - if (syncpeer >= 0) { + if (syncpeer) { NCR_TakeSourceOffline(syncpeer->data); }