From 74c138620a97d57799be13ddddfbf277dcb7af31 Mon Sep 17 00:00:00 2001 From: a-f-G-U-C <65810997+a-f-G-U-C@users.noreply.github.com> Date: Thu, 28 Oct 2021 11:25:45 +0000 Subject: [PATCH] revert sanity check from PR 898 --- src/plugins/PositionPlugin.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/plugins/PositionPlugin.cpp b/src/plugins/PositionPlugin.cpp index 5f03ec6b..509750c8 100644 --- a/src/plugins/PositionPlugin.cpp +++ b/src/plugins/PositionPlugin.cpp @@ -18,11 +18,15 @@ bool PositionPlugin::handleReceivedProtobuf(const MeshPacket &mp, Position *pptr { auto p = *pptr; - // If inbound message is a replay (or spoof!) of our own messages, do not process + // If inbound message is a replay (or spoof!) of our own messages, we shouldn't process // (why use second-hand sources for our own data?) + + // FIXME this can in fact happen with packets sent from EUD (src=RX_SRC_USER) + // to set fixed location, EUD-GPS location or just the time (see also issue #900) if (nodeDB.getNodeNum() == getFrom(&mp)) { - DEBUG_MSG("Ignored an incoming update from MYSELF\n"); - return false; + DEBUG_MSG("Incoming update from MYSELF\n"); + // DEBUG_MSG("Ignored an incoming update from MYSELF\n"); + // return false; } // Log packet size and list of fields