Update llarp/router/route_poker.cpp

Co-authored-by: Jason Rhinelander <jason@imaginary.ca>
pull/1834/head
majestrate 2 years ago committed by GitHub
parent 27ba3e044d
commit 2c44ffe85b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -87,9 +87,7 @@ namespace llarp
RoutePoker::~RoutePoker()
{
if (m_Router == nullptr)
return;
if (m_Router->GetVPNPlatform() == nullptr)
if (not m_Router or not m_Router->GetVPNPlatform())
return;
vpn::IRouteManager& route = m_Router->GetVPNPlatform()->RouteManager();

Loading…
Cancel
Save