mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 05:25:08 -05:00
ntp: don't make client log entries for broadcast TX
This commit is contained in:
@@ -1995,6 +1995,9 @@ NCR_ProcessTxUnknown(NTP_Remote_Address *remote_addr, NTP_Local_Address *local_a
|
||||
if (!check_packet_format(message, length))
|
||||
return;
|
||||
|
||||
if (NTP_LVM_TO_MODE(message->lvm) == MODE_BROADCAST)
|
||||
return;
|
||||
|
||||
log_index = CLG_GetClientIndex(&remote_addr->ip_addr);
|
||||
if (log_index < 0)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user