diff --git a/html/formatter.js b/html/formatter.js index b220f50..0706359 100644 --- a/html/formatter.js +++ b/html/formatter.js @@ -571,9 +571,9 @@ function wqi(data) { } else if (type4 == 'tisb') { ac.version = ac.tisb_version; } - if (stride == 116) { + if (stride == 112) { let part2 = u32[27].toString(16).padStart(8, '0'); - ac.rId = u32[28].toString(16).padStart(8, '0') + '-' + part2.slice(0, 4) + '-' + part2.slice(4); + ac.rId = part2.slice(0, 4) + '-' + part2.slice(4); } data.aircraft.push(ac);