From 900daccebbb57abcbf95e8d708444fbfcb804a86 Mon Sep 17 00:00:00 2001 From: Joe Date: Tue, 26 Dec 2023 20:20:20 +0100 Subject: cool --- i_ui.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i_ui.go') diff --git a/i_ui.go b/i_ui.go index 1b5bcb7..e63428c 100644 --- a/i_ui.go +++ b/i_ui.go @@ -263,9 +263,9 @@ func i_info_panel(ui HardUI, lhost *HostList) { return } host = lhost.sel(ui.sel) - if host.Type == 0 { + if host.Protocol == 0 { host_type = "SSH" - } else if host.Type == 1 { + } else if host.Protocol == 1 { host_type = "RDP" } -- cgit v1.2.3