summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-27 15:00:16 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-27 15:00:16 -0700
commit16bc3e03982286232e1df2da17d8b2fc3c5a5c55 (patch)
tree3a506566a945a8dec8e8fb5094a9d0d5f9e91f95 /node/Switch.cpp
parent40976c02a42b8e9078519f92a7c7412b8464e9bc (diff)
downloadinfinitytier-16bc3e03982286232e1df2da17d8b2fc3c5a5c55.tar.gz
infinitytier-16bc3e03982286232e1df2da17d8b2fc3c5a5c55.zip
Factor out RemotePath subclass of Path -- no longer needed, just cruft.
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 772eaf02..2f72f57a 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -736,7 +736,7 @@ bool Switch::_trySend(const Packet &packet,bool encrypt,uint64_t nwid)
return false; // sanity check: unconfigured network? why are we trying to talk to it?
}
- RemotePath *viaPath = peer->getBestPath(now);
+ Path *viaPath = peer->getBestPath(now);
SharedPtr<Peer> relay;
if (!viaPath) {
// See if this network has a preferred relay (if packet has an associated network)