if we think our ip address just changed, log what we thought it

changed *to*.


svn:r12551
This commit is contained in:
Roger Dingledine 2007-11-22 01:38:54 +00:00
parent aaefad64a1
commit 2e40510f02

View File

@ -2056,7 +2056,9 @@ resolve_my_address(int warn_severity, or_options_t *options,
if (last_resolved_addr && last_resolved_addr != *addr_out) {
/* Leave this as a notice, regardless of the requested severity,
* at least until dynamic IP address support becomes bulletproof. */
log_notice(LD_NET, "Your IP address seems to have changed. Updating.");
log_notice(LD_NET,
"Your IP address seems to have changed to %s. Updating.",
tmpbuf);
ip_address_changed(0);
}
if (last_resolved_addr != *addr_out) {