Adjusted logging

master
Mark Qvist 2026-09-04 11:41:27 +02:00
parent 3bc149e3d5
commit 2f29b56e96
No known key found for this signature in database
1 changed files with 3 additions and 1 deletions

View File

@ -305,7 +305,9 @@ class Packet:
if RNS.Transport.outbound(self): return self.receipt
else:
RNS.log(f"No interfaces could process the outbound {self.hops} hop, type {self.packet_type} packet for {self.destination}", RNS.LOG_DEBUG) if RNS.sl(RNS.LOG_DEBUG) else None
if not self.attached_interface:
RNS.log(f"No interfaces could process the outbound {self.hops} hop, type {self.packet_type} packet for {self.destination}", RNS.LOG_DEBUG) if RNS.sl(RNS.LOG_DEBUG) else None
self.sent = False
self.receipt = None
return False