mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
accept v6 only for v6 acceptor
This commit is contained in:
parent
2dfd351e7a
commit
7900e9b126
2 changed files with 11 additions and 8 deletions
|
@ -704,7 +704,7 @@ namespace util
|
|||
s << "NTCP<br>";
|
||||
for (auto it: i2p::transport::transports.GetNTCPSessions ())
|
||||
{
|
||||
if (it.second->IsEstablished ())
|
||||
if (it.second && it.second->IsEstablished ())
|
||||
{
|
||||
// incoming connection doesn't have remote RI
|
||||
bool outgoing = it.second->GetRemoteRouter ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue