Fix Linux build problem

This commit is contained in:
Adam Ierymenko 2013-07-04 17:10:19 -04:00
parent 150850b800
commit b1adaf5902

View File

@ -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;