mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 04:35:06 -05:00
ntp: fix address in error message
This commit is contained in:
@@ -458,7 +458,7 @@ handle_saved_address_update(void)
|
|||||||
/* This is expected to happen only if the old address is wrong */
|
/* This is expected to happen only if the old address is wrong */
|
||||||
LOG(LOGS_ERR, "Could not change %s to %s",
|
LOG(LOGS_ERR, "Could not change %s to %s",
|
||||||
UTI_IPSockAddrToString(&saved_address_update.old_address),
|
UTI_IPSockAddrToString(&saved_address_update.old_address),
|
||||||
UTI_IPSockAddrToString(&saved_address_update.old_address));
|
UTI_IPSockAddrToString(&saved_address_update.new_address));
|
||||||
|
|
||||||
saved_address_update.old_address.ip_addr.family = IPADDR_UNSPEC;
|
saved_address_update.old_address.ip_addr.family = IPADDR_UNSPEC;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user