diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2015-02-15 12:20:32 +0100 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2015-02-15 12:20:37 +0100 |
commit | 3b6b9435c5692eb56838867e184e59dbe4f6b5c0 (patch) | |
tree | d1e1cca722b27cdf9f130bd013d5344a096013b2 | |
parent | 5eb0eda626942882fa9ac4e040da51c644a2bbbd (diff) | |
download | minetest-3b6b9435c5692eb56838867e184e59dbe4f6b5c0.tar.gz minetest-3b6b9435c5692eb56838867e184e59dbe4f6b5c0.tar.bz2 minetest-3b6b9435c5692eb56838867e184e59dbe4f6b5c0.zip |
Only do the IPv6 unit test if IPv6 is enabled
-rw-r--r-- | src/test.cpp | 2 |
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)) { |