From aa1f260bc1ee7ec444deba03e6c5a527cdf4b6b9 Mon Sep 17 00:00:00 2001 From: Joseph Henry Date: Tue, 21 Mar 2023 09:54:31 -0700 Subject: [PATCH] Only allow new overwrite if not bonded --- node/Peer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/Peer.cpp b/node/Peer.cpp index f73359fdf..5cb55fa4b 100644 --- a/node/Peer.cpp +++ b/node/Peer.cpp @@ -111,7 +111,7 @@ void Peer::received( } // If same address on same interface then don't learn unless existing path isn't alive (prevents learning loop) if (_paths[i].p->address().ipsEqual(path->address()) && _paths[i].p->localSocket() == path->localSocket()) { - if (_paths[i].p->alive(now)) { + if (_paths[i].p->alive(now) && !_bond) { havePath = true; break; }