Skip to content

Commit 58ab491

Browse files
committed
Add ipv6 skipif to test
This was done for the -unix variant, but not the (formerly windows-only?) main test.
1 parent 34e7d78 commit 58ab491

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

ext/sockets/tests/socket_sendrecvmsg_multi_msg.phpt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,16 @@ sendmsg()/recvmsg(): test ability to receive multiple messages (WIN32)
44
<?php
55
if (!extension_loaded('sockets'))
66
die('skip sockets extension not available.');
7+
8+
require 'ipv6_skipif.inc';
9+
710
if (!defined('IPPROTO_IPV6'))
811
die('skip IPv6 not available.');
912
/* Windows supports IPV6_RECVTCLASS and is able to receive the tclass via
1013
* WSARecvMsg (though only the top 6 bits seem to reported), but WSASendMsg
11-
* does not accept IPV6_TCLASS messages. We still test that sendmsg() works
12-
* corectly by sending an IPV6_PKTINFO message that will have no effect */
14+
* does not accept IPV6_TCLASS messages. We still test that sendmsg() works
15+
* correctly by sending an IPV6_PKTINFO message that will have no effect */
16+
?>
1317
--FILE--
1418
<?php
1519
include __DIR__."/mcast_helpers.php.inc";

0 commit comments

Comments
 (0)