Skip to content

Commit

Permalink
update: fix type error of output
Browse files Browse the repository at this point in the history
  • Loading branch information
Esonhugh committed Jan 19, 2025
1 parent 6bf5c3a commit c8a06f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/service/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ var SubNetCmd = &cobra.Command{
func RunMultiThread(net *net.IPNet, num int) (finalRecord define.Records) {
scan := mutli.NewSubnetScanner(num)
for r := range scan.ScanSubnet(net) {
finalRecord = append(finalRecord, r...)
finalRecord = append(finalRecord, r)
}
if len(finalRecord) == 0 {
log.Warn("ScanSubnet Found Nothing")
Expand Down

0 comments on commit c8a06f7

Please sign in to comment.