diff --git a/main.go b/main.go index 29efe12..7f56468 100644 --- a/main.go +++ b/main.go @@ -28,7 +28,7 @@ const SecondsUntilInactive = 120 func main() { - clients := ParseCSVDump(CSVDumps) + clients := ParseCSVDumps(CSVDumps) var activeClients int64 for _, c := range clients { @@ -41,7 +41,7 @@ func main() { fmt.Println("Total Clients:", len(clients)) } -func ParseCSVDump(pathToDumps string) (clients []*WifiClient) { +func ParseCSVDumps(pathToDumps string) (clients []*WifiClient) { err := filepath.Walk(pathToDumps, func(dumpPath string, info os.FileInfo, err error) error { if err != nil { return err