mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Only do the IPv6 unit test if IPv6 is enabled
This commit is contained in:
parent
5eb0eda626
commit
3b6b9435c5
1 changed files with 1 additions and 1 deletions
|
@ -1673,7 +1673,7 @@ struct TestSocket: public TestBase
|
||||||
Address address6((IPv6AddressBytes*) NULL, port);
|
Address address6((IPv6AddressBytes*) NULL, port);
|
||||||
|
|
||||||
// IPv6 socket test
|
// IPv6 socket test
|
||||||
{
|
if (g_settings->getBool("enable_ipv6")) {
|
||||||
UDPSocket socket6;
|
UDPSocket socket6;
|
||||||
|
|
||||||
if (!socket6.init(true, true)) {
|
if (!socket6.init(true, true)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue