From 907d3809b1f236e2fdd61be35274ca9d043dc9a0 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Tue, 24 Dec 2024 17:27:39 +1300 Subject: [PATCH] show which interface ping happened over --- meshchat.py | 1 + src/frontend/components/ping/PingPage.vue | 3 +++ 2 files changed, 4 insertions(+) diff --git a/meshchat.py b/meshchat.py index d3da58e..b9cc6e4 100644 --- a/meshchat.py +++ b/meshchat.py @@ -1196,6 +1196,7 @@ class ReticulumMeshChat: "rssi": rssi, "snr": snr, "quality": quality, + "receiving_interface": str(receipt.proof_packet.receiving_interface), }, }) diff --git a/src/frontend/components/ping/PingPage.vue b/src/frontend/components/ping/PingPage.vue index c4b4cf7..d4a3cb2 100644 --- a/src/frontend/components/ping/PingPage.vue +++ b/src/frontend/components/ping/PingPage.vue @@ -160,6 +160,9 @@ export default { info.push(`quality=${pingResult.quality}%`); } + // add receiving interface + info.push(`via=${pingResult.receiving_interface}`); + // update ui this.addPingResult(info.join(" "));