Fix node mapping and unknown node display in traceroute dialogs (#728)

Corrects the mapping of 'from' and 'to' nodes in TracerouteResponseDialog to reflect the actual origin and destination of traceroute packets. Also updates TraceRoute to display a localized unknown name for node ID 4294967295 (0xffffff), improving clarity for unknown nodes.
This commit is contained in:
Jeremy Gallant
2025-07-23 21:31:05 -04:00
committed by GitHub
parent bbb43de87b
commit 5b417a321a
2 changed files with 3 additions and 3 deletions
@@ -41,7 +41,7 @@ const RoutePath = ({ title, from, to, path, snr }: RoutePathProps) => {
<span key={getNode(hop)?.num ?? hop}>
<p>
{getNode(hop)?.user?.longName ??
`${t("traceRoute.nodeUnknownPrefix")}${numberToHexUnpadded(hop)}`}
`${t("unknown.longName")} (!${numberToHexUnpadded(hop)})`}
</p>
<p>
↓ {snr?.[i + 1] ?? t("unknown.num")}