mirror of https://github.com/oxen-io/lokinet
make add/del blackhole default to empty implementation
This commit is contained in:
parent
e25ae7192f
commit
c9b9ed91c2
|
@ -93,10 +93,10 @@ namespace llarp::vpn
|
|||
GetGatewaysNotOnInterface(std::string ifname) = 0;
|
||||
|
||||
virtual void
|
||||
AddBlackhole() = 0;
|
||||
AddBlackhole(){};
|
||||
|
||||
virtual void
|
||||
DelBlackhole() = 0;
|
||||
DelBlackhole(){};
|
||||
};
|
||||
|
||||
/// a vpn platform
|
||||
|
|
|
@ -588,12 +588,6 @@ namespace llarp::vpn
|
|||
RouteViaInterface(ifname, range, "DELETE");
|
||||
}
|
||||
|
||||
void
|
||||
AddBlackhole() override{};
|
||||
|
||||
void
|
||||
DelBlackhole() override{};
|
||||
|
||||
std::vector<IPVariant_t>
|
||||
GetGatewaysNotOnInterface(std::string ifname) override
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue