summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/or/test.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 6ab6c6626d..e804b72540 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -24,6 +24,7 @@ Changes in version 0.2.0.22-rc - 2008-03-??
- 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
diff --git a/src/or/test.c b/src/or/test.c
index b0dcc26594..b3e8f2cbab 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(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));