From 9af3175687686841f25cab2fe7e1ade0c66a1ff9 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sat, 9 Sep 2006 19:20:27 +0000 Subject: parameterize the loudness of get_interface_address() svn:r8358 --- src/or/connection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/or/connection.c') diff --git a/src/or/connection.c b/src/or/connection.c index 6fc68263b..88346f8aa 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -1999,7 +1999,7 @@ client_check_address_changed(int sock) uint32_t *ip; if (!last_interface_ip) - get_interface_address(&last_interface_ip); + get_interface_address(LOG_INFO, &last_interface_ip); if (!outgoing_addrs) outgoing_addrs = smartlist_create(); @@ -2017,7 +2017,7 @@ client_check_address_changed(int sock) /* Uh-oh. We haven't connected from this address before. Has the interface * address changed? */ - if (get_interface_address(&iface_ip)<0) + if (get_interface_address(LOG_INFO, &iface_ip)<0) return; ip = tor_malloc(sizeof(uint32_t)); *ip = ip_out; -- cgit v1.2.3