From f37d5d4aa4029532908ac0fed68794e39dfeaf6a Mon Sep 17 00:00:00 2001 From: liamcottle Date: Fri, 12 Jul 2024 11:30:05 +1200 Subject: [PATCH] support showing tcp server interface information in ui --- public/index.html | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index b398fb4..e3f1c92 100644 --- a/public/index.html +++ b/public/index.html @@ -932,7 +932,7 @@ - + @@ -961,6 +961,11 @@ {{ iface.type }} • {{ iface.target_host }}:{{ iface.target_port }} + + + {{ iface.type }} • {{ iface.listen_ip }}:{{ iface.listen_port }} + + {{ iface.type }} • {{ iface.port }} • freq={{ iface.frequency }} • bw={{ iface.bandwidth }} • power={{ iface.txpower }}dBm • sf={{ iface.spreadingfactor }} • cr={{ iface.codingrate }} @@ -976,7 +981,7 @@
- Enabled + Enabled Disabled
@@ -2028,6 +2033,10 @@ // example: "TCPInterface[RNS Testnet Amsterdam/amsterdam.connect.reticulum.network:4965]"; return `TCPInterface[${interfaceName}/${iface.target_host}:${iface.target_port}]`; } + case "TCPServerInterface": { + // example: "TCPServerInterface[TCP Server Interface/0.0.0.0:4242]"; + return `TCPServerInterface[${interfaceName}/${iface.listen_ip}:${iface.listen_port}]`; + } default: { // example: "RNodeInterface[RNode LoRa Interface Fast]", return `${iface.type}[${interfaceName}]`;