Refactored packet type naming

This commit is contained in:
Mark Qvist 2018-04-16 22:09:23 +02:00
parent 8772db6736
commit dedea6ba11
4 changed files with 6 additions and 6 deletions

View file

@ -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: