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
+1 -1
View File
@@ -116,7 +116,7 @@ class Destination:
if packet.packet_type == RNS.Packet.LINKREQUEST:
self.incomingLinkRequest(plaintext, packet)
if packet.packet_type == RNS.Packet.RESOURCE:
if packet.packet_type == RNS.Packet.DATA:
if self.callbacks.packet != None:
self.callbacks.packet(plaintext, packet)