mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-26 08:41:50 +00:00
don't show endpoint for terminated or closed SAM streams
This commit is contained in:
parent
ad390f70b3
commit
32bf9224f2
@ -1026,7 +1026,8 @@ namespace http {
|
||||
case i2p::client::SAMSocketType::eSAMSocketTypeForward : s << "forward"; break;
|
||||
default: s << "unknown"; break;
|
||||
}
|
||||
s << " [" << it->GetSocket ().remote_endpoint() << "]";
|
||||
if (it->GetSocketType () != i2p::client::SAMSocketType::eSAMSocketTypeTerminated && it->GetSocket ().is_open ())
|
||||
s << " [" << it->GetSocket ().remote_endpoint() << "]";
|
||||
s << "</div>\r\n";
|
||||
}
|
||||
s << "</div>\r\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user