Browse Source

Fix Linux build problem

Adam Ierymenko 12 years ago
parent
commit
b1adaf5902
1 changed files with 1 additions and 1 deletions
  1. 1 1
      node/EthernetTap.cpp

+ 1 - 1
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;