mirror of https://github.com/oxen-io/lokinet
try to handle router deregistrations on the network better (#1461)
* don't send messages to de-registered relays but allow traffic to clients * actively close sessions to de-registered relayspull/1465/head
parent
4eb275324d
commit
a0ed303d7b
@ -0,0 +1,11 @@
|
||||
#include <link/session.hpp>
|
||||
|
||||
namespace llarp
|
||||
{
|
||||
bool
|
||||
ILinkSession::IsRelay() const
|
||||
{
|
||||
return GetRemoteRC().IsPublicRouter();
|
||||
}
|
||||
|
||||
} // namespace llarp
|
Loading…
Reference in New Issue