mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-18 19:17:55 -04:00
Refactored packet type naming
This commit is contained in:
parent
8772db6736
commit
dedea6ba11
4 changed files with 6 additions and 6 deletions
|
@ -51,7 +51,7 @@ class Transport:
|
|||
destination.receive(packet)
|
||||
Transport.cache(packet)
|
||||
|
||||
if packet.packet_type == RNS.Packet.RESOURCE:
|
||||
if packet.packet_type == RNS.Packet.DATA:
|
||||
if packet.destination_type == RNS.Destination.LINK:
|
||||
for link in Transport.active_links:
|
||||
if link.link_id == packet.destination_hash:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue