From acb644fd1545fcdcf0ba6a7358e7b10282dafad4 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 29 Mar 2024 20:20:20 +0100 Subject: oooooo --- src/c_lhosts.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/c_lhosts.go') 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 "" } } -- cgit v1.2.3