aboutsummaryrefslogtreecommitdiffstats
path: root/i_ui.go
diff options
context:
space:
mode:
Diffstat (limited to 'i_ui.go')
-rw-r--r--i_ui.go4
1 files changed, 2 insertions, 2 deletions
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"
}