mirror of
https://github.com/pablorevilla-meshtastic/meshview.git
synced 2026-07-04 00:41:44 +02:00
Add role to traceroute graphs.
This commit is contained in:
+1
-1
@@ -600,7 +600,7 @@ async def graph_traceroute(request):
|
||||
if not node:
|
||||
node_name = node_id_to_hex(node_id)
|
||||
else:
|
||||
node_name = f'[{node.short_name}] {node.long_name}\n{node_id_to_hex(node_id)}'
|
||||
node_name = f'[{node.short_name}] {node.long_name}\n{node_id_to_hex(node_id)}\n{node.role}'
|
||||
if node_id in node_seen_time:
|
||||
ms = (node_seen_time[node_id] - first_time).total_seconds() * 1000
|
||||
node_name += f'\n {ms:.2f}ms'
|
||||
|
||||
Reference in New Issue
Block a user