增加tcp通道处理逻辑

This commit is contained in:
lubeilin
2024-01-07 21:09:26 +08:00
parent 7098111ad1
commit e64e17267d
9 changed files with 456 additions and 186 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ pub fn console_device_list(mut list: Vec<DeviceItem>) {
("".to_string(), Style::new().red()),
]);
} else {
if &item.nat_traversal_type == "p2p" {
if item.nat_traversal_type.contains("p2p") {
out_list.push(vec![
(item.name, Style::new().green()),
(item.virtual_ip, Style::new().green()),