ntp: remove unnecessary check for NULL local timestamp
After 5f4cbaab7e
("ntp: optimize detection of clients using
interleaved mode") the local TX timestamp is saved for all requests
indicating interleaved mode even when no previous RX timestamp is found.
This commit is contained in:
parent
5160f14fdc
commit
a5f1a113f0
1 changed files with 1 additions and 1 deletions
|
@ -2500,7 +2500,7 @@ NCR_ProcessRxUnknown(NTP_Remote_Address *remote_addr, NTP_Local_Address *local_a
|
|||
return;
|
||||
|
||||
if (local_ntp_rx)
|
||||
CLG_SaveNtpTimestamps(local_ntp_rx, tx_ts ? &tx_ts->ts : NULL);
|
||||
CLG_SaveNtpTimestamps(local_ntp_rx, &tx_ts->ts);
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
|
Loading…
Reference in a new issue