This commit is contained in:
konrad 2018-11-28 22:59:21 +01:00
parent e2a5d3d6ca
commit e78d4a6ba6
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -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