From e592e9f29aa96aa0ec0699dff38828109e19d259 Mon Sep 17 00:00:00 2001 From: Mg Pig Date: Wed, 4 Jun 2025 09:22:58 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8A=82=E7=82=B9=E4=BF=A1=E6=81=AF=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E6=B7=BB=E5=8A=A0=E9=9A=A7=E9=81=93=E5=8D=8F=E8=AE=AE?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=20(#931)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- easytier-web/frontend-lib/src/components/Status.vue | 7 ++++++- easytier-web/frontend-lib/src/locales/cn.yaml | 1 + easytier-web/frontend-lib/src/locales/en.yaml | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/easytier-web/frontend-lib/src/components/Status.vue b/easytier-web/frontend-lib/src/components/Status.vue index c87f985..01c5eb6 100644 --- a/easytier-web/frontend-lib/src/components/Status.vue +++ b/easytier-web/frontend-lib/src/components/Status.vue @@ -106,6 +106,10 @@ function ipFormat(info: PeerRoutePair) { return ip ? `${IPv4.fromNumber(ip.address.addr)}/${ip.network_length}` : '' } +function tunnelProto(info: PeerRoutePair) { + return [...new Set(info.peer?.conns.map(c => c.tunnel?.tunnel_type))].join(',') +} + const myNodeInfo = computed(() => { if (!props.curNetworkInst) return {} as NodeInfo @@ -311,7 +315,7 @@ function showEventLogs() { + diff --git a/easytier-web/frontend-lib/src/locales/cn.yaml b/easytier-web/frontend-lib/src/locales/cn.yaml index e7e1585..e0e1671 100644 --- a/easytier-web/frontend-lib/src/locales/cn.yaml +++ b/easytier-web/frontend-lib/src/locales/cn.yaml @@ -64,6 +64,7 @@ event_log: 事件日志 peer_info: 节点信息 hostname: 主机名 route_cost: 路由 +tunnel_proto: 协议 latency: 延迟 upload_bytes: 上传 download_bytes: 下载 diff --git a/easytier-web/frontend-lib/src/locales/en.yaml b/easytier-web/frontend-lib/src/locales/en.yaml index 15a0f77..1d6e167 100644 --- a/easytier-web/frontend-lib/src/locales/en.yaml +++ b/easytier-web/frontend-lib/src/locales/en.yaml @@ -62,6 +62,7 @@ show_event_log: Show Event Log event_log: Event Log peer_info: Peer Info route_cost: Route Cost +tunnel_proto: Protocol hostname: Hostname latency: Latency upload_bytes: Upload