diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-03-13 16:56:36 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-03-13 16:56:36 +0000 |
commit | 1126cf41f262ccc9aa74c8ce780432313e83cdc1 (patch) | |
tree | a5ec8e34c3d4741bc34bdd0ed178ef2d9609ed9f | |
parent | 46b104b9e728131645e59ba77670599ef8c39a9e (diff) | |
download | tor-1126cf41f262ccc9aa74c8ce780432313e83cdc1.tar.gz tor-1126cf41f262ccc9aa74c8ce780432313e83cdc1.zip |
backport: Use proper log levels in the testsuite call of get_interface_address6().
svn:r14009
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/or/test.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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)); |