summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-11-22 01:38:54 +0000
committerRoger Dingledine <arma@torproject.org>2007-11-22 01:38:54 +0000
commit2e40510f024cf418350ec4b6b1dd26457a80fe7c (patch)
treef6e18a8aa312185fe764102dee357478c375c801 /src
parentaaefad64a1df33f66aedcae25cfe08a991fd9360 (diff)
downloadtor-2e40510f024cf418350ec4b6b1dd26457a80fe7c.tar.gz
tor-2e40510f024cf418350ec4b6b1dd26457a80fe7c.zip
if we think our ip address just changed, log what we thought it
changed *to*. svn:r12551
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index d23ad9cbe1..a0cafb6a98 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -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) {