mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 05:28:01 +00:00
build fix
This commit is contained in:
parent
b9d4b42f93
commit
10707c3673
@ -101,7 +101,7 @@ bool NetconEthernetTap::addIp(const InetAddress &ip)
|
||||
bool NetconEthernetTap::removeIp(const InetAddress &ip)
|
||||
{
|
||||
Mutex::Lock _l(_ips_m);
|
||||
std::vector<InetAddress> i(std::find(_ips.begin(),_ips.end(),ip));
|
||||
std::vector<InetAddress>::iterator i(std::find(_ips.begin(),_ips.end(),ip));
|
||||
if (i == _ips.end())
|
||||
return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user