summaryrefslogtreecommitdiff
path: root/node/Peer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/Peer.cpp')
-rw-r--r--node/Peer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/node/Peer.cpp b/node/Peer.cpp
index c4c8774e..1dde8b65 100644
--- a/node/Peer.cpp
+++ b/node/Peer.cpp
@@ -142,6 +142,9 @@ void Peer::received(
}
if (hops == 0) {
+ if (_vProto >= 9)
+ path->updateLinkQuality((unsigned int)(packetId & 7));
+
bool pathIsConfirmed = false;
{
Mutex::Lock _l(_paths_m);