mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-26 10:10:24 +01:00
don't show endpoint for terminated or closed SAM streams
This commit is contained in:
parent
ad390f70b3
commit
32bf9224f2
1 changed files with 2 additions and 1 deletions
|
@ -1026,6 +1026,7 @@ namespace http {
|
|||
case i2p::client::SAMSocketType::eSAMSocketTypeForward : s << "forward"; break;
|
||||
default: s << "unknown"; break;
|
||||
}
|
||||
if (it->GetSocketType () != i2p::client::SAMSocketType::eSAMSocketTypeTerminated && it->GetSocket ().is_open ())
|
||||
s << " [" << it->GetSocket ().remote_endpoint() << "]";
|
||||
s << "</div>\r\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue