Skip to content

Commit

Permalink
COAP-44. Fix possible mismatch due to different string encoding of IPv6.
Browse files Browse the repository at this point in the history
  • Loading branch information
malishav committed Mar 30, 2019
1 parent d12d3d9 commit f147a48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coap/coap.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ def _receive(self,timestamp,sender,rawbytes):
for (k,v) in self.transmitters.items():
# try matching
if (
msgkey[0]==k[0] and
u.ipv6AddrString2Bytes(msgkey[0])==u.ipv6AddrString2Bytes(k[0]) and
msgkey[1]==k[1] and
(
msgkey[2]==k[2] or
Expand Down

0 comments on commit f147a48

Please sign in to comment.