lokinet/llarp/link/session.cpp
Jeff a0ed303d7b
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 relays
2020-11-10 09:24:58 -05:00

12 lines
160 B
C++

#include <link/session.hpp>
namespace llarp
{
bool
ILinkSession::IsRelay() const
{
return GetRemoteRC().IsPublicRouter();
}
} // namespace llarp