Skip to content

Commit e0997b7

Browse files
committed
add logging
1 parent 78f5a75 commit e0997b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

p2p/net/nat/internal/nat/upnp.go

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ func discoverUPNP_GenIGDev(ctx context.Context) (nats []NAT, errs []error) {
6363
continue
6464
}
6565
if foundIGDevs >= maxIGDevs {
66+
log.Debug("found more than maxIGDevs UPnP devices, stopping search")
6667
break
6768
}
6869
foundIGDevs++

0 commit comments

Comments
 (0)