Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowabi committed May 15, 2024
1 parent e394dc3 commit 68a7052
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/req.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func SearchEndpoint(client *http.Client, portList []string, recordList ...Record
if len(record.srvRecords) != 0 {
resultsChan2 := make(chan ResponseData, cap(record.srvRecords))
for _, srv := range record.srvRecords {
wg2.Add(1)
go func(srv *net.SRV, port string, wg *sync.WaitGroup) {
defer wg.Done()
//logrus.Debug(srv.Target, ":", port, " Working")
Expand Down

0 comments on commit 68a7052

Please sign in to comment.