Commit 925ba965 authored by Peter Palfrader's avatar Peter Palfrader
Browse files

downgrade get_interface_address6 logging severity to LOG_DEBUG.

get_interface_address6() fails regardless of the allocator used,
wever logging to the original severity of 0 causes an assert
error only with the bsd allocator.  weird.


svn:r14005
parent 365f16b1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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(LOG_ERR, AF_INET, &t1);
  i = get_interface_address6(LOG_ERR, 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));