Skip to content

Commit

Permalink
add logging
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Feb 18, 2025
1 parent 78f5a75 commit e0997b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions p2p/net/nat/internal/nat/upnp.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ func discoverUPNP_GenIGDev(ctx context.Context) (nats []NAT, errs []error) {
continue
}
if foundIGDevs >= maxIGDevs {
log.Debug("found more than maxIGDevs UPnP devices, stopping search")
break
}
foundIGDevs++
Expand Down

0 comments on commit e0997b7

Please sign in to comment.