Skip to content

Commit 05586b1

Browse files
authored
Merge pull request #18 from apocelipes/master
simplify -v outputs
2 parents 6bb315d + ce8edd6 commit 05586b1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lmap.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func CheckIP(subnet string, isVerbose bool) {
5757
}
5858
usedIP[old] = data
5959
if isVerbose {
60-
fmt.Println("已使用IP:", usedIP[:usedIndex])
60+
fmt.Println("已使用IP:", data)
6161
}
6262
} else {
6363
old := atomic.LoadInt64(&unusedIndex)
@@ -66,7 +66,7 @@ func CheckIP(subnet string, isVerbose bool) {
6666
}
6767
unusedIP[old] = data
6868
if isVerbose {
69-
fmt.Println("未使用IP:", unusedIP[:unusedIndex])
69+
fmt.Println("未使用IP:", data)
7070
}
7171
}
7272
}(ip)

0 commit comments

Comments
 (0)