summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-06 14:08:13 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-06 14:08:13 -0700
commit93bb934d4e77fd1436ebe81336d396fa769aa59b (patch)
tree37bdf28002a09429c02995e6dc2701fa1c021abe /node/Switch.cpp
parentfeddd946f9d3ac6a643968582610eb4ffaebb69d (diff)
downloadinfinitytier-93bb934d4e77fd1436ebe81336d396fa769aa59b.tar.gz
infinitytier-93bb934d4e77fd1436ebe81336d396fa769aa59b.zip
Some cleanup, docs, and Path -> Path > RemotePath refactor.
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r--node/Switch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp
index f022122e..891c4a45 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -733,7 +733,7 @@ bool Switch::_trySend(const Packet &packet,bool encrypt,uint64_t nwid)
if (peer) {
const uint64_t now = RR->node->now();
- Path *viaPath = peer->getBestPath(now);
+ RemotePath *viaPath = peer->getBestPath(now);
if (!viaPath) {
SharedPtr<Peer> relay;