mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +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);
|
||||
|
||||
if (!ip.isValid())
|
||||
if (!ip)
|
||||
return false;
|
||||
if (_ips.count(ip) > 0)
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue