summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2017-07-17 13:48:39 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2017-07-17 13:48:39 -0700
commitab0806a036485979d60015a22a8e8831b68643a2 (patch)
treeb6c18ac8c13bdf54e38da3c28acb63bdc084c2b1 /node/Switch.cpp
parent3a1ec07db0d30415a21ab05be9898210d7cc70ef (diff)
downloadinfinitytier-ab0806a036485979d60015a22a8e8831b68643a2.tar.gz
infinitytier-ab0806a036485979d60015a22a8e8831b68643a2.zip
Cleanup.
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 eee49775..9c9daac9 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -60,7 +60,7 @@ void Switch::onRemotePacket(void *tPtr,const int64_t localSocket,const InetAddre
try {
const uint64_t now = RR->node->now();
- SharedPtr<Path> path(RR->topology->getPath(localSocket,fromAddr));
+ const SharedPtr<Path> path(RR->topology->getPath(localSocket,fromAddr));
path->received(now);
if (len == 13) {