From b1adaf5902ef7165321d6eb5769fd469f26fe1dd Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 4 Jul 2013 17:10:19 -0400 Subject: [PATCH] Fix Linux build problem --- node/EthernetTap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/EthernetTap.cpp b/node/EthernetTap.cpp index e50e48d33..01bd72cc9 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;