<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:timar74@gmail.com" title="Andras Timar <timar74@gmail.com>"> <span class="fn">Andras Timar</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - loolwsd doesn't listen on 127.0.0.1 when setting it to use loopback and ipv4 and ipv6"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129928">bug 129928</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>NOTOURBUG
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - loolwsd doesn't listen on 127.0.0.1 when setting it to use loopback and ipv4 and ipv6"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129928#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED NOTOURBUG - loolwsd doesn't listen on 127.0.0.1 when setting it to use loopback and ipv4 and ipv6"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=129928">bug 129928</a>
from <span class="vcard"><a class="email" href="mailto:timar74@gmail.com" title="Andras Timar <timar74@gmail.com>"> <span class="fn">Andras Timar</span></a>
</span></b>
<pre>I tend to agree that it is not our bug. We set everything right in LOOLWSD.cpp:
{
std::string proto = getConfigValue<std::string>(conf, "net.proto", "");
if (!Poco::icompare(proto, "ipv4"))
ClientPortProto = Socket::Type::IPv4;
else if (!Poco::icompare(proto, "ipv6"))
ClientPortProto = Socket::Type::IPv6;
else if (!Poco::icompare(proto, "all"))
ClientPortProto = Socket::Type::All;
else
LOG_WRN("Invalid protocol: " << proto);
}
{
std::string listen = getConfigValue<std::string>(conf, "net.listen",
"");
if (!Poco::icompare(listen, "any"))
ClientListenAddr = ServerSocket::Type::Public;
else if (!Poco::icompare(listen, "loopback"))
ClientListenAddr = ServerSocket::Type::Local;
else
LOG_WRN("Invalid listen address: " << listen << ". Falling back to
default: 'any'" );
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>