-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IPv6 failure #793
Comments
What operating system are you running, and do you know if it supports IPv6? If you're running Linux, what is the output of running The IPv6 patch doesn't check diff --git a/src/test.cpp b/src/test.cpp
index b66f65d..4825cc6 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -42,6 +42,7 @@
#include "util/serialize.h"
#include "noise.h" // PseudoRandom used for random data for compression
#include "clientserver.h" // LATEST_PROTOCOL_VERSION
+#include "main.h" // for g_settings
#include <algorithm>
/*
@@ -1295,6 +1296,7 @@ struct TestSocket: public TestBase
const int port = 30003;
// IPv6 socket test
+ if(g_settings->getBool("enable_ipv6"))
{
UDPSocket socket6(true);
socket6.Bind(port); You can also try running Minetest with |
I'm using openSUSE 12.2 (x86_64). /proc/net/if_inet6 exists and is empty. I had to manually apply that patch. Both the patch and the argument allow minetest to continue running. But I shouldn't have to manually disable ipv6, it should fall back to ipv4 (or the test should be "non-blocking"). |
When IPv6 is enabled, Minetest uses the However, when connecting to the local server during singleplayer games, if I'll write a patch to detect IPv6 on startup and submit a pull request. |
Is this still an issue? There have been many changes to the networking and the patch is very outdated. You should be able to work around this by using |
ipv6 errors will not count as fatal any longer but only provide a error message in log |
On any commit not earlier than f960c3b, I get this error
Specifically, these last three lines - even if I add enable_ipv6/ipv6_server = false in minetest.conf.
So I can supposedly disable ipv6, but not the other effects of the commit.
The text was updated successfully, but these errors were encountered: