Skip to content
This repository was archived by the owner on Apr 24, 2019. It is now read-only.

Fix for IOTCLT-961 #275

Merged
merged 2 commits into from
Aug 23, 2016
Merged

Fix for IOTCLT-961 #275

merged 2 commits into from
Aug 23, 2016

Conversation

yogpan01
Copy link
Contributor

This commit fixes issue of mapping of IP addresses for CoAP library is done.
The problem was hidden till now, because IP addresses of Bootstrap and mDS were quite different and client was accidently only comparing first 4 characters of the address hence it was identifying them as two different servers.
But now the IP addresses are similar to last 2 bytes hence the first 4 byte check always pass even though the IP addresses are different
IP Address of Bootstrap is 159.122.226.36
IP Address of mDS is 159.122.226.33
On comparing the first 4 characters now, the CoAP library assumes the requests are still coming for Bootstrap sequence.
This commit fixes this issue.

Yogesh Pande added 2 commits August 22, 2016 22:21
This commit fixes issue of mapping of IP addresses for CoAP library is done.
The problem was hidden till now, because IP addresses of Bootstrap and mDS were quite different and client was accidently only comparing first 4 characters of the address hence it was identifying them as two different servers.
But now the IP addresses are similar to last 2 bytes hence the first 4 byte check always pass even though the IP addresses are different
IP Address of Bootstrap is 159.122.226.36
IP Address of mDS is 159.122.226.33
On comparing the first 4 characters now, the CoAP library assumes the requests are still coming for Bootstrap sequence.
This commit fixes this issue.
@yogpan01
Copy link
Contributor Author

@teetak01

@teetak01
Copy link
Contributor

+1

@yogpan01 yogpan01 merged commit 6925e89 into master Aug 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants