From 34e95c86d6b7b68f98877b2d2973dd1bf829f9a7 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Tue, 21 Oct 2025 10:52:28 -0700 Subject: [PATCH] log IP if there --- mesh_bot.py | 2 +- pong_bot.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mesh_bot.py b/mesh_bot.py index cedeee0..1af0491 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -1609,7 +1609,7 @@ def onReceive(packet, interface): hop = "IP-Network" if enableHopLogs: - logger.debug(f"System: Packet HopDebugger: hop_away:{hop_away} hop_limit:{hop_limit} hop_start:{hop_start} calculated_hop_count:{hop_count} final_hop_value:{hop} via_mqtt:{via_mqtt} transport_mechanism:{transport_mechanism}") + logger.debug(f"System: Packet HopDebugger: hop_away:{hop_away} hop_limit:{hop_limit} hop_start:{hop_start} calculated_hop_count:{hop_count} final_hop_value:{hop} via_mqtt:{via_mqtt} transport_mechanism:{transport_mechanism} Hostname:{rxNodeHostName}") # check with stringSafeChecker if the message is safe if stringSafeCheck(message_string) is False: diff --git a/pong_bot.py b/pong_bot.py index b19f460..d44867e 100755 --- a/pong_bot.py +++ b/pong_bot.py @@ -353,7 +353,7 @@ def onReceive(packet, interface): hop = "IP-Network" if enableHopLogs: - logger.debug(f"System: Packet HopDebugger: hop_away:{hop_away} hop_limit:{hop_limit} hop_start:{hop_start} calculated_hop_count:{hop_count} final_hop_value:{hop} via_mqtt:{via_mqtt} transport_mechanism:{transport_mechanism}") + logger.debug(f"System: Packet HopDebugger: hop_away:{hop_away} hop_limit:{hop_limit} hop_start:{hop_start} calculated_hop_count:{hop_count} final_hop_value:{hop} via_mqtt:{via_mqtt} transport_mechanism:{transport_mechanism} Hostname:{rxNodeHostName}") # check with stringSafeChecker if the message is safe if stringSafeCheck(message_string) is False: