Skip to content

Commit

Permalink
fix: bad PTR record output with full subnet.
Browse files Browse the repository at this point in the history
  • Loading branch information
Esonhugh committed Jan 26, 2025
1 parent 941b0ab commit c9ef4a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mutli/subnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func (s *SubnetScanner) scan(subnet *net.IPNet, to chan define.Record) {
ptr := pkg.PTRRecord(ip)
if len(ptr) > 0 {
for _, domain := range ptr {
log.Infof("PTRrecord %v --> %v", subnet, domain)
log.Infof("PTRrecord %v --> %v", ip, domain)
r := define.Record{Ip: ip, SvcDomain: domain}
to <- r
}
Expand Down

0 comments on commit c9ef4a6

Please sign in to comment.