[or-cvs] r14005: downgrade get_interface_address6 logging severity to LOG_DEB (tor/trunk/src/or)

weasel at seul.org weasel at seul.org
Thu Mar 13 16:15:16 UTC 2008


Author: weasel
Date: 2008-03-13 12:15:16 -0400 (Thu, 13 Mar 2008)
New Revision: 14005

Modified:
   tor/trunk/src/or/test.c
Log:
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.


Modified: tor/trunk/src/or/test.c
===================================================================
--- tor/trunk/src/or/test.c	2008-03-13 15:11:56 UTC (rev 14004)
+++ tor/trunk/src/or/test.c	2008-03-13 16:15:16 UTC (rev 14005)
@@ -1366,8 +1366,8 @@
   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));



More information about the tor-commits mailing list