summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-04 17:10:19 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-07-04 17:10:19 -0400
commitb1adaf5902ef7165321d6eb5769fd469f26fe1dd (patch)
treea9929a027ea0c99f628cdc5839b601196e47b6c9
parent150850b80012f852521c9935145cf966946334d5 (diff)
downloadinfinitytier-b1adaf5902ef7165321d6eb5769fd469f26fe1dd.tar.gz
infinitytier-b1adaf5902ef7165321d6eb5769fd469f26fe1dd.zip
Fix Linux build problem
-rw-r--r--node/EthernetTap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/EthernetTap.cpp b/node/EthernetTap.cpp
index e50e48d3..01bd72cc 100644
--- a/node/EthernetTap.cpp
+++ b/node/EthernetTap.cpp
@@ -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;