diff options
author | Roger Dingledine <arma@mit.edu> | 2009-06-30 10:14:15 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-06-30 10:21:30 -0400 |
commit | 690db1331dcaed2ee4c8eb38cca53b97f25bd75d (patch) | |
tree | 3f071969738611da49cb4619e3a74e3cedc631c4 /src | |
parent | 1ace3799facd9cae6f16f64647fec2281333539f (diff) | |
download | tor-690db1331dcaed2ee4c8eb38cca53b97f25bd75d.tar.gz tor-690db1331dcaed2ee4c8eb38cca53b97f25bd75d.zip |
another minor patch to add to 0.2.1.x
o Minor features:
- If we're a relay and we change our IP address, be more verbose
about the reason that made us change. Should help track down
further bugs for relays on dynamic IP addresses.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/router.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/router.c b/src/or/router.c index 658c567db1..93afe4fad5 100644 --- a/src/or/router.c +++ b/src/or/router.c @@ -1509,8 +1509,8 @@ log_addr_has_changed(int severity, uint32_t prev, uint32_t cur, addrbuf_prev, addrbuf_cur, source); else log_notice(LD_GENERAL, - "Guessed our IP address as %s.", - addrbuf_cur); + "Guessed our IP address as %s (source: %s).", + addrbuf_cur, source); } /** Check whether our own address as defined by the Address configuration @@ -1533,7 +1533,7 @@ check_descriptor_ipaddress_changed(time_t now) } if (prev != cur) { - log_addr_has_changed(LOG_INFO, prev, cur, "resolve"); + log_addr_has_changed(LOG_NOTICE, prev, cur, "resolve"); ip_address_changed(0); } } |