summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-31 22:30:08 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2014-03-31 22:30:08 -0700
commit316e8d1939426e96cf4bdf7aaed9655ce21308e3 (patch)
treebc956ed0729883647acf15d9bb11f9438c227631
parentf13493edb2aae228ddbe70cc2f0609c541faf2d7 (diff)
downloadinfinitytier-316e8d1939426e96cf4bdf7aaed9655ce21308e3.tar.gz
infinitytier-316e8d1939426e96cf4bdf7aaed9655ce21308e3.zip
Build fix.
-rw-r--r--node/Switch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp
index 2ee3a4a0..e64a3383 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -239,7 +239,7 @@ bool Switch::sendHELLO(const SharedPtr<Peer> &dest,const InetAddress &destUdp)
outp.append(now);
_r->identity.serialize(outp,false);
outp.armor(dest->key(),false);
- return _r->sm->send(deskUdp,false,false,outp.data(),outp.size());
+ return _r->sm->send(destUdp,false,false,outp.data(),outp.size());
}
bool Switch::unite(const Address &p1,const Address &p2,bool force)