summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.cpp b/src/test.cpp
index b4158f241..5d6fdd2d8 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -1673,7 +1673,7 @@ struct TestSocket: public TestBase
Address address6((IPv6AddressBytes*) NULL, port);
// IPv6 socket test
- {
+ if (g_settings->getBool("enable_ipv6")) {
UDPSocket socket6;
if (!socket6.init(true, true)) {