diff --git a/public/index.html b/public/index.html index bf1b7e41..7c30fb55 100644 --- a/public/index.html +++ b/public/index.html @@ -84,7 +84,7 @@ - + diff --git a/public/packets.js b/public/packets.js index 0a4527e6..c9216b9e 100644 --- a/public/packets.js +++ b/public/packets.js @@ -492,6 +492,12 @@ for (const p of packets) { if (p._children) sortGroupChildren(p); } + // Resolve any new hops from updated header paths + const newHops = new Set(); + for (const p of packets) { + try { JSON.parse(p.path_json || '[]').forEach(h => { if (!(h in hopNameCache)) newHops.add(h); }); } catch {} + } + if (newHops.size) await resolveHops([...newHops]); renderTableRows(); });