mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-03 23:15:52 +00:00
a0ed303d7b
* don't send messages to de-registered relays but allow traffic to clients * actively close sessions to de-registered relays
12 lines
160 B
C++
12 lines
160 B
C++
#include <link/session.hpp>
|
|
|
|
namespace llarp
|
|
{
|
|
bool
|
|
ILinkSession::IsRelay() const
|
|
{
|
|
return GetRemoteRC().IsPublicRouter();
|
|
}
|
|
|
|
} // namespace llarp
|