summaryrefslogtreecommitdiff
path: root/node
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2014-02-06 23:12:12 -0800
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2014-02-06 23:12:12 -0800
commit5b97bb247ed16cd3466b55db10057c722e67e726 (patch)
tree0627c6919e575df8deff7b518e372622c4a44333 /node
parent8a7486577afb259c19b82e4e73cb8b508cd2f162 (diff)
downloadinfinitytier-5b97bb247ed16cd3466b55db10057c722e67e726.tar.gz
infinitytier-5b97bb247ed16cd3466b55db10057c722e67e726.zip
More Windows service work... it builds! Now to do a new installer and test. Also fix a Windows compile warning in Switch.cpp.
Diffstat (limited to 'node')
-rw-r--r--node/Switch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp
index a759a01b..e6a8e6fd 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -218,7 +218,7 @@ bool Switch::sendHELLO(const SharedPtr<Peer> &dest,Demarc::Port localPort,const
outp.append(now);
_r->identity.serialize(outp,false);
outp.armor(dest->key(),false);
- return _r->demarc->send(localPort,remoteAddr,outp.data(),outp.size(),-1);
+ return (_r->demarc->send(localPort,remoteAddr,outp.data(),outp.size(),-1) != Demarc::NULL_PORT);
}
bool Switch::unite(const Address &p1,const Address &p2,bool force)