mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-28 12:33:23 +02:00
fix: expose effective drop reason to PacketRouter
This commit is contained in:
@@ -400,6 +400,9 @@ class RepeaterHandler(BaseHandler):
|
||||
elif route_type in (ROUTE_TYPE_DIRECT, ROUTE_TYPE_TRANSPORT_DIRECT):
|
||||
self.direct_dup_count += 1
|
||||
|
||||
# Expose effective drop reason to PacketRouter
|
||||
setattr(packet, "_repeater_drop_reason", drop_reason)
|
||||
|
||||
display_hashes = (
|
||||
original_path_hashes if original_path_hashes else packet.get_path_hashes_hex()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user