Explorar o código

Fix Linux build problem

Adam Ierymenko %!s(int64=12) %!d(string=hai) anos
pai
achega
b1adaf5902
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;