Add TUN device name setting support to easytier-gui

This commit is contained in:
Hs_Yeah
2024-09-23 23:06:25 +08:00
committed by Sijie.Sun
parent 92397bf7b6
commit 0b927bcc91
7 changed files with 34 additions and 3 deletions

View File

@@ -131,8 +131,16 @@ const myNodeInfoChips = computed(() => {
if (!my_node_info)
return chips
// virtual ipv4
// TUN Device Name
const dev_name = curNetworkInst.value.detail?.dev_name
if (dev_name) {
chips.push({
label: `TUN Device Name: ${dev_name}`,
icon: '',
} as Chip)
}
// virtual ipv4
chips.push({
label: `Virtual IPv4: ${my_node_info.virtual_ipv4}`,
icon: '',