ntp: fix address in error message

This commit is contained in:
Miroslav Lichvar 2021-04-21 15:56:51 +02:00
parent 039b388c82
commit d9b720471d

View file

@ -458,7 +458,7 @@ handle_saved_address_update(void)
/* This is expected to happen only if the old address is wrong */
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.new_address));
saved_address_update.old_address.ip_addr.family = IPADDR_UNSPEC;
}