diff options
Diffstat (limited to 'tests/test_echo_tcp_connect.c')
-rw-r--r-- | tests/test_echo_tcp_connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_echo_tcp_connect.c b/tests/test_echo_tcp_connect.c index f97b5ac..d2020c8 100644 --- a/tests/test_echo_tcp_connect.c +++ b/tests/test_echo_tcp_connect.c @@ -76,7 +76,7 @@ static void test_connect_downgrade_ipv6(void **state) assert_int_equal(rc, 1); /* Connect should downgrade to IPv4 and allow the connect */ - rc = connect(s, &addr.sa.in, addr.sa_socklen); + rc = connect(s, &addr.sa.s, addr.sa_socklen); assert_int_equal(rc, 0); close(s); |