Browse Source

Remove managed routes in destructor (regression fix).

pull/2/head
Adam Ierymenko 4 years ago
parent
commit
fabfb10b97
No known key found for this signature in database
GPG Key ID: C8877CF2D7A5D7F3
  1. 4
      osdep/ManagedRoute.cpp

4
osdep/ManagedRoute.cpp

@ -405,7 +405,9 @@ ManagedRoute::ManagedRoute(const InetAddress &target,const InetAddress &via,cons
}
ManagedRoute::~ManagedRoute()
{}
{
this->remove();
}
/* Linux NOTE: for default route override, some Linux distributions will
* require a change to the rp_filter parameter. A value of '1' will prevent

Loading…
Cancel
Save