mirror of
https://github.com/markqvist/LXMF
synced 2026-11-22 23:10:36 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b3fa796a1 | ||
|
|
f6cc9fd1cf | ||
|
|
4b13d7188c |
No files matched your search
+3
-2
@@ -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
@@ -1 +1 @@
|
||||
__version__ = "0.4.2"
|
||||
__version__ = "0.4.3"
|
||||
Reference in new issue
Block a user