mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-28 10:38:11 -07:00
Cleanup
This commit is contained in:
+2
-4
@@ -289,11 +289,9 @@ class Packet:
|
|||||||
self.destination.tx += 1
|
self.destination.tx += 1
|
||||||
self.destination.txbytes += len(self.data)
|
self.destination.txbytes += len(self.data)
|
||||||
|
|
||||||
if not self.packed:
|
if not self.packed: self.pack()
|
||||||
self.pack()
|
|
||||||
|
|
||||||
if RNS.Transport.outbound(self):
|
if RNS.Transport.outbound(self): return self.receipt
|
||||||
return self.receipt
|
|
||||||
else:
|
else:
|
||||||
RNS.log("No interfaces could process the outbound packet", RNS.LOG_ERROR)
|
RNS.log("No interfaces could process the outbound packet", RNS.LOG_ERROR)
|
||||||
self.sent = False
|
self.sent = False
|
||||||
|
|||||||
Reference in New Issue
Block a user