2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Require IPv6 support from the OS

This commit is contained in:
Ondřej Surý
2018-08-21 11:50:23 +02:00
parent 00ca487fec
commit 7b21bbb7c1
15 changed files with 208 additions and 442 deletions

View File

@@ -412,7 +412,6 @@ ATF_TC_HEAD(udp_dscp_v6, tc) {
atf_tc_set_md_var(tc, "descr", "udp dscp ipv6");
}
ATF_TC_BODY(udp_dscp_v6, tc) {
#if defined(ISC_PLATFORM_HAVEIPV6)
isc_result_t result;
isc_sockaddr_t addr1, addr2;
struct in6_addr in6;
@@ -508,10 +507,6 @@ ATF_TC_BODY(udp_dscp_v6, tc) {
isc_socket_detach(&s2);
isc_test_end();
#else
UNUSED(tc);
atf_tc_skip("IPv6 not available");
#endif
}
/* Test TCP sendto/recv (IPv4) */
@@ -618,7 +613,6 @@ ATF_TC_HEAD(tcp_dscp_v6, tc) {
atf_tc_set_md_var(tc, "descr", "tcp dscp ipv6");
}
ATF_TC_BODY(tcp_dscp_v6, tc) {
#ifdef ISC_PLATFORM_HAVEIPV6
isc_result_t result;
isc_sockaddr_t addr1;
struct in6_addr in6;
@@ -717,10 +711,6 @@ ATF_TC_BODY(tcp_dscp_v6, tc) {
isc_socket_detach(&s3);
isc_test_end();
#else
UNUSED(tc);
atf_tc_skip("IPv6 not available");
#endif
}
ATF_TC(net_probedscp);