[tor-commits] [tor/master] work around lack of AF_CCITT

nickm at torproject.org nickm at torproject.org
Tue Mar 31 19:57:01 UTC 2015


commit 1ac3cb4823048bc33c02ee0bf49fbbee72a4dbec
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Mar 31 15:56:52 2015 -0400

    work around lack of AF_CCITT
---
 src/test/test_address.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/test_address.c b/src/test/test_address.c
index 4bd631d..317119c 100644
--- a/src/test/test_address.c
+++ b/src/test/test_address.c
@@ -614,7 +614,7 @@ test_address_udp_socket_trick_blackbox(void *arg)
    */
 
   retval = get_interface_address6_via_udp_socket_hack(LOG_DEBUG,
-                                                      AF_CCITT,&addr4);
+                                                      AF_INET+AF_INET6,&addr4);
 
   tt_assert(retval == -1);
 



More information about the tor-commits mailing list