aboutsummaryrefslogtreecommitdiff
path: root/src/or/router.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/router.c')
-rw-r--r--src/or/router.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/or/router.c b/src/or/router.c
index c74368ea8..026709c67 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1460,12 +1460,13 @@ check_descriptor_ipaddress_changed(time_t now)
* headers. */
static uint32_t last_guessed_ip = 0;
-/** A directory server told us our IP address is <b>suggestion</b>.
+/** A directory server <b>d_conn</b> told us our IP address is
+ * <b>suggestion</b>.
* If this address is different from the one we think we are now, and
* if our computer doesn't actually know its IP address, then switch. */
void
-router_new_address_suggestion(const char *suggestion,
- const dir_connection_t *d_conn)
+router_new_address_suggestion(const char *suggestion,
+ const dir_connection_t *d_conn)
{
uint32_t addr, cur = 0;
struct in_addr in;
@@ -1497,9 +1498,9 @@ router_new_address_suggestion(const char *suggestion,
}
if (addr == d_conn->_base.addr) {
/* Don't believe anybody who says our IP is their IP. */
- log_notice(LD_DIR, "A directory server told us our IP is %s, but that "
- "seems to be the IP of the directory server saying these "
- "things. Ignoring.", suggestion);
+ log_debug(LD_DIR, "A directory server told us our IP address is %s, "
+ "but he's just reporting his own IP address. Ignoring.",
+ suggestion);
return;
}