From e2be2e619ccd72f45854fd8ab96f02e6c14dd052 Mon Sep 17 00:00:00 2001 From: James Netherton Date: Sun, 14 Oct 2018 09:14:38 +0100 Subject: [PATCH] Fixes #20 - Does not return WiFi Devices --- cmd/connected_devices.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/connected_devices.go b/cmd/connected_devices.go index 6bd3c2c..e4d2b26 100644 --- a/cmd/connected_devices.go +++ b/cmd/connected_devices.go @@ -26,7 +26,7 @@ func NewConnectedDevicesCommand(authenticatingCommand *GenericCommand) *Authenti fmt.Printf(headerPattern, "--", "----------", "----------------", "----") for i := 0; i < len(connectedDevices); i++ { - if connectedDevices[i].InterfaceType == "WiFI" || connectedDevices[i].InterfaceType == "Ethernet" { + if connectedDevices[i].InterfaceType == "WiFi" || connectedDevices[i].InterfaceType == "Ethernet" { fmt.Printf(dataPattern, connectedDevices[i].UID, connectedDevices[i].IPAddress,