Compare commits

..
3 Commits
Author SHA1 Message Date
Mark Qvist 2b3fa796a1 Updated packet proof logic 2024-03-26 14:55:59 +01:00
Mark Qvist f6cc9fd1cf Updated version 2024-03-23 19:53:05 +01:00
Mark Qvist 4b13d7188c Send packet proof before delivery processing 2024-03-22 21:11:32 +01:00
2 changed files with 4 additions and 3 deletions

No files matched your search

+3 -2
View File
@@ -980,6 +980,7 @@ class LXMRouter:
return False
def delivery_packet(self, data, packet):
packet.prove()
try:
if packet.destination_type != RNS.Destination.LINK:
lxmf_data = b""
@@ -997,8 +998,8 @@ class LXMRouter:
RNS.log("Error while retrieving physical link stats for LXMF delivery packet: "+str(e), RNS.LOG_ERROR)
phy_stats = {"rssi": packet.rssi, "snr": packet.snr, "q": packet.q}
if self.lxmf_delivery(lxmf_data, packet.destination_type, phy_stats=phy_stats):
packet.prove()
self.lxmf_delivery(lxmf_data, packet.destination_type, phy_stats=phy_stats)
except Exception as e:
RNS.log("Exception occurred while parsing incoming LXMF data.", RNS.LOG_ERROR)
+1 -1
View File
@@ -1 +1 @@
__version__ = "0.4.2"
__version__ = "0.4.3"