From aa667fafe92fbcf5bfef0418998222eccbbb07b5 Mon Sep 17 00:00:00 2001 From: you Date: Sun, 22 Mar 2026 07:58:52 +0000 Subject: [PATCH] =?UTF-8?q?Rain:=20fix=20hex=20bytes=20source=20=E2=80=94?= =?UTF-8?q?=20check=20pkt.raw,=20pkt.raw=5Fhex,=20pkt.packet.raw=5Fhex?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 2 +- public/live.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index 4f33689..965dd05 100644 --- a/public/index.html +++ b/public/index.html @@ -90,7 +90,7 @@ - + diff --git a/public/live.js b/public/live.js index 1822d59..0278814 100644 --- a/public/live.js +++ b/public/live.js @@ -1798,7 +1798,7 @@ const decoded = pkt.decoded || {}; const hops = decoded.path?.hops || []; const hopCount = Math.max(1, hops.length); - const rawHex = pkt.raw || ''; + const rawHex = pkt.raw || pkt.raw_hex || (pkt.packet && pkt.packet.raw_hex) || ''; const bytes = []; for (let i = 0; i < rawHex.length; i += 2) { bytes.push(rawHex.slice(i, i + 2).toUpperCase());