mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Fix Linux build problem
This commit is contained in:
parent
150850b800
commit
b1adaf5902
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ bool EthernetTap::addIP(const InetAddress &ip)
|
||||||
{
|
{
|
||||||
Mutex::Lock _l(_ips_m);
|
Mutex::Lock _l(_ips_m);
|
||||||
|
|
||||||
if (!ip.isValid())
|
if (!ip)
|
||||||
return false;
|
return false;
|
||||||
if (_ips.count(ip) > 0)
|
if (_ips.count(ip) > 0)
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue