aboutsummaryrefslogtreecommitdiffstats
path: root/i_ui.go
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2023-12-26 20:20:20 +0100
committerJoe <rbo@gmx.us>2023-12-26 20:20:20 +0100
commit900daccebbb57abcbf95e8d708444fbfcb804a86 (patch)
treefa5167cf88ca9e9bbaa9d83ffbef21ae4031149b /i_ui.go
parentmust rewrite ui (diff)
downloadhardflip-900daccebbb57abcbf95e8d708444fbfcb804a86.tar.gz
hardflip-900daccebbb57abcbf95e8d708444fbfcb804a86.tar.bz2
hardflip-900daccebbb57abcbf95e8d708444fbfcb804a86.tar.xz
hardflip-900daccebbb57abcbf95e8d708444fbfcb804a86.tar.zst
hardflip-900daccebbb57abcbf95e8d708444fbfcb804a86.zip
cool
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"
}