This commit is contained in:
Mark Qvist
2026-01-01 14:01:05 +01:00
parent 344ff21c1e
commit ef64fefa96
2 changed files with 5 additions and 7 deletions
+2 -4
View File
@@ -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