aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_address.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-03-31 15:56:52 -0400
committerNick Mathewson <nickm@torproject.org>2015-03-31 15:56:52 -0400
commit1ac3cb4823048bc33c02ee0bf49fbbee72a4dbec (patch)
treeff63346e1fd387e148f881d7b19a4ffabe7a78d4 /src/test/test_address.c
parent02c3879f8730021d0b8b7bc359895cbd9dda204f (diff)
downloadtor-1ac3cb4823048bc33c02ee0bf49fbbee72a4dbec.tar.gz
tor-1ac3cb4823048bc33c02ee0bf49fbbee72a4dbec.zip
work around lack of AF_CCITT
Diffstat (limited to 'src/test/test_address.c')
-rw-r--r--src/test/test_address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_address.c b/src/test/test_address.c
index 4bd631d39c..317119c52f 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);