diff options
author | Peter Palfrader <peter@palfrader.org> | 2008-03-13 15:10:35 +0000 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2008-03-13 15:10:35 +0000 |
commit | 24884bb3ed970539e073358270fcff00669eb1fa (patch) | |
tree | 9386f43196d32de9aec2ec9a64afe42f6013173e /src/or/test.c | |
parent | cad3d651d07fcf12a69188a934fa408956052b32 (diff) | |
download | tor-24884bb3ed970539e073358270fcff00669eb1fa.tar.gz tor-24884bb3ed970539e073358270fcff00669eb1fa.zip |
Use proper log levels with get_interface_address6() calls so we do not die in an assert error because of invalid log levels. Should a failure here fail our test suite?
svn:r14003
Diffstat (limited to 'src/or/test.c')
-rw-r--r-- | src/or/test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/test.c b/src/or/test.c index f11c62f6cf..68a36ea60f 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_ERR, AF_INET, &t1); + i = get_interface_address6(LOG_ERR, 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)); |