Skip to content
Snippets Groups Projects
Commit 2a2edf40 authored by deuce's avatar deuce
Browse files

zone is a base-16 number at this point, not base 10. Fixes zone mapping

above zone 9.
parent 06a5aa08
No related branches found
No related tags found
No related merge requests found
...@@ -197,8 +197,8 @@ var FIDO = { ...@@ -197,8 +197,8 @@ var FIDO = {
point = m[5]; point = m[5];
if(point == null) if(point == null)
point = 0; point = 0;
if (this.domainMap[parseInt(zone)] !== undefined) if (this.domainMap[parseInt(zone, 16)] !== undefined)
domain = this.domainMap[parseInt(zone, 10)]; domain = this.domainMap[parseInt(zone, 16)];
return new FIDO.Addr(parseInt(m[2], 16), parseInt(m[3], 16), parseInt(zone, 16), parseInt(point, 16), domain); return new FIDO.Addr(parseInt(m[2], 16), parseInt(m[3], 16), parseInt(zone, 16), parseInt(point, 16), domain);
}, },
domainMap:{ domainMap:{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment