diff options
author | Joe <rbo@gmx.us> | 2024-03-29 20:20:20 +0100 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2024-03-29 20:20:20 +0100 |
commit | acb644fd1545fcdcf0ba6a7358e7b10282dafad4 (patch) | |
tree | d79e861837abdbeb328654d5081e2fe4d8908821 /src/c_lhosts.go | |
parent | iota (diff) | |
download | hardflip-acb644fd1545fcdcf0ba6a7358e7b10282dafad4.tar.gz hardflip-acb644fd1545fcdcf0ba6a7358e7b10282dafad4.tar.bz2 hardflip-acb644fd1545fcdcf0ba6a7358e7b10282dafad4.tar.xz hardflip-acb644fd1545fcdcf0ba6a7358e7b10282dafad4.tar.zst hardflip-acb644fd1545fcdcf0ba6a7358e7b10282dafad4.zip |
oooooo
Diffstat (limited to '')
-rw-r--r-- | src/c_lhosts.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/c_lhosts.go b/src/c_lhosts.go index 4548d4e..009febf 100644 --- a/src/c_lhosts.go +++ b/src/c_lhosts.go @@ -161,10 +161,10 @@ func (lhost *HostList) count() int { func (host *HostNode) protocol_str() string { switch host.Protocol { - case 0: return "SSH" - case 1: return "RDP" - case 2: return "Single command" - case 3: return "OpenStack CLI" + case PROTOCOL_SSH: return "SSH" + case PROTOCOL_RDP: return "RDP" + case PROTOCOL_CMD: return "Single command" + case PROTOCOL_OS: return "OpenStack CLI" default: return "" } } |