Skip to content

Commit 3b6b943

Browse files
committedFeb 15, 2015
Only do the IPv6 unit test if IPv6 is enabled
1 parent 5eb0eda commit 3b6b943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎src/test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1673,7 +1673,7 @@ struct TestSocket: public TestBase
16731673
Address address6((IPv6AddressBytes*) NULL, port);
16741674

16751675
// IPv6 socket test
1676-
{
1676+
if (g_settings->getBool("enable_ipv6")) {
Has a conversation. Original line has a conversation.
16771677
UDPSocket socket6;
16781678

16791679
if (!socket6.init(true, true)) {

0 commit comments

Comments
 (0)
Please sign in to comment.