Skip to content

Commit

Permalink
Fixes #20 - Does not return WiFi Devices
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Oct 14, 2018
1 parent 9e22440 commit e2be2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/connected_devices.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e2be2e6

Please sign in to comment.