projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eb0eda
)
Only do the IPv6 unit test if IPv6 is enabled
author
Loic Blot
<loic.blot@unix-experience.fr>
Sun, 15 Feb 2015 11:20:32 +0000
(12:20 +0100)
committer
Loic Blot
<loic.blot@unix-experience.fr>
Sun, 15 Feb 2015 11:20:37 +0000
(12:20 +0100)
src/test.cpp
patch
|
blob
|
history
diff --git
a/src/test.cpp
b/src/test.cpp
index b4158f241f15af041f3a51f2d86e3436d42604f0..5d6fdd2d8248ca06a26f40f6efa637abb9e3c426 100644
(file)
--- 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)) {