From 1126cf41f262ccc9aa74c8ce780432313e83cdc1 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 13 Mar 2008 16:56:36 +0000 Subject: [PATCH] backport: Use proper log levels in the testsuite call of get_interface_address6(). svn:r14009 --- ChangeLog | 1 + src/or/test.c | 4 ++-- 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));