mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-19 03:06:26 +00:00
Fix Linux build problem
This commit is contained in:
parent
150850b800
commit
b1adaf5902
@ -180,7 +180,7 @@ bool EthernetTap::addIP(const InetAddress &ip)
|
||||
{
|
||||
Mutex::Lock _l(_ips_m);
|
||||
|
||||
if (!ip.isValid())
|
||||
if (!ip)
|
||||
return false;
|
||||
if (_ips.count(ip) > 0)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user