mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 04:57:53 +00:00
Remove managed routes in destructor (regression fix).
This commit is contained in:
parent
65549cb0da
commit
fabfb10b97
@ -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…
Reference in New Issue
Block a user