diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-03-13 16:15:16 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-03-13 16:15:16 +0000 |
commit | 925ba96508c4914f536d9075f192b9d62c1d1a2f (patch) | |
tree | 816eb252e10738158e25ffd5b2bf1c7ffb32c5ca | |
parent | 365f16b199ac7fbff00c70e6c03437decf868db9 (diff) | |
download | tor-925ba96508c4914f536d9075f192b9d62c1d1a2f.tar.gz tor-925ba96508c4914f536d9075f192b9d62c1d1a2f.zip |
downgrade get_interface_address6 logging severity to LOG_DEBUG.
get_interface_address6() fails regardless of the allocator used,
wever logging to the original severity of 0 causes an assert
error only with the bsd allocator. weird.
svn:r14005
-rw-r--r-- | src/or/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/test.c b/src/or/test.c index 68a36ea60f..371d32309d 100644 --- a/src/or/test.c +++ b/src/or/test.c @@ -1366,8 +1366,8 @@ test_util_ip6_helpers(void) test_assert(sizeof(tor_addr_t) >= sizeof(struct in6_addr)); /* get interface addresses */ - r = get_interface_address6(LOG_ERR, AF_INET, &t1); - i = get_interface_address6(LOG_ERR, AF_INET6, &t2); + r = get_interface_address6(LOG_DEBUG, AF_INET, &t1); + i = get_interface_address6(LOG_DEBUG, AF_INET6, &t2); #if 0 tor_inet_ntop(AF_INET, &t1.sa.sin_addr, buf, sizeof(buf)); printf("\nv4 address: %s (family=%i)", buf, IN_FAMILY(&t1)); |