diff --git a/ntp_core.c b/ntp_core.c index ae42b5b..7ea4a6c 100644 --- a/ntp_core.c +++ b/ntp_core.c @@ -1519,7 +1519,7 @@ receive_packet(NTP_Packet *message, struct timeval *now, double now_err, NCR_Ins pkt_root_delay, pkt_root_dispersion); } - return valid_packet; + return good_packet; } /* ================================================== */ diff --git a/ntp_sources.c b/ntp_sources.c index dbd4748..32407b4 100644 --- a/ntp_sources.c +++ b/ntp_sources.c @@ -792,7 +792,7 @@ NSR_ProcessReceive(NTP_Packet *message, struct timeval *now, double now_err, NTP return; if (record->tentative) { - /* This was the first valid reply from the source */ + /* This was the first good reply from the source */ record->tentative = 0; if (record->pool != INVALID_POOL) {