backport: Use proper log levels in the testsuite call of get_interface_address6().
svn:r14009
This commit is contained in:
parent
46b104b9e7
commit
1126cf41f2
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue