diff --git a/HTTPServer.cpp b/HTTPServer.cpp
index a27992ba..d71deb3c 100644
--- a/HTTPServer.cpp
+++ b/HTTPServer.cpp
@@ -164,8 +164,13 @@ namespace util
s << "
SSU
";
for (auto it: ssuServer->GetSessions ())
{
+ // incoming connections don't have remote router
+ bool outgoing = it.second->GetRemoteRouter ();
auto endpoint = it.second->GetRemoteEndpoint ();
- s << endpoint.address ().to_string () << ":" << endpoint.port () << "
";
+ if (outgoing) s << "-->";
+ s << endpoint.address ().to_string () << ":" << endpoint.port ();
+ if (!outgoing) s << "-->";
+ s << "
";
}
}
s << "