[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r14009: backport: Use proper log levels in the testsuite call of get (in tor/branches/tor-0_2_0-patches: . src/or)
Author: weasel
Date: 2008-03-13 12:56:36 -0400 (Thu, 13 Mar 2008)
New Revision: 14009
Modified:
tor/branches/tor-0_2_0-patches/ChangeLog
tor/branches/tor-0_2_0-patches/src/or/test.c
Log:
backport: Use proper log levels in the testsuite call of get_interface_address6().
Modified: tor/branches/tor-0_2_0-patches/ChangeLog
===================================================================
--- tor/branches/tor-0_2_0-patches/ChangeLog 2008-03-13 16:56:31 UTC (rev 14008)
+++ tor/branches/tor-0_2_0-patches/ChangeLog 2008-03-13 16:56:36 UTC (rev 14009)
@@ -24,6 +24,7 @@
- Make --enable-openbsd-malloc work correctly on Linux with alpha CPUs.
Fixes bug 625. Bugfix on 0.2.0.x.
- Logging functions now check that the passed severity is sane.
+ - Use proper log levels in the testsuite call of get_interface_address6().
Changes in version 0.2.0.21-rc - 2008-03-02
Modified: tor/branches/tor-0_2_0-patches/src/or/test.c
===================================================================
--- tor/branches/tor-0_2_0-patches/src/or/test.c 2008-03-13 16:56:31 UTC (rev 14008)
+++ tor/branches/tor-0_2_0-patches/src/or/test.c 2008-03-13 16:56:36 UTC (rev 14009)
@@ -1366,8 +1366,8 @@
test_assert(sizeof(tor_addr_t) >= sizeof(struct in6_addr));
/* get interface addresses */
- r = get_interface_address6(0, AF_INET, &t1);
- i = get_interface_address6(0, 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));