We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4896c07 commit 7d0cc6bCopy full SHA for 7d0cc6b
src/api_config.cpp
@@ -96,13 +96,8 @@ void api_config::load_from_file(const std::string &filename) {
96
base_port_ = pt.get("ports.BasePort", 16572);
97
port_range_ = pt.get("ports.PortRange", 32);
98
allow_random_ports_ = pt.get("ports.AllowRandomPorts", true);
99
- std::string ipv6_str = pt.get("ports.IPv6",
100
-#ifdef __APPLE__
101
- "disable"); // on Mac OS (10.7) there's a bug in the IPv6 implementation that breaks LSL
102
- // when it tries to use both v4 and v6
103
-#else
104
- "allow");
105
-#endif
+ std::string ipv6_str = pt.get("ports.IPv6", "allow");
+
106
allow_ipv4_ = true;
107
allow_ipv6_ = true;
108
// fix some common mis-spellings
0 commit comments