Skip to content

Commit

Permalink
Merge pull request #7 from libp2p/fix/6
Browse files Browse the repository at this point in the history
fix detection of GenIG NATs
  • Loading branch information
Stebalien authored Apr 12, 2019
2 parents 4a84cb4 + 3f647da commit c6e34f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nat.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func DiscoverNATs(ctx context.Context) <-chan NAT {
upnpIg2 := discoverUPNP_IG2(ctx)
natpmp := discoverNATPMP(ctx)
upnpGenIGDev := discoverUPNP_GenIGDev(ctx)
for upnpIg1 != nil || upnpIg2 != nil || natpmp != nil {
for upnpIg1 != nil || upnpIg2 != nil || natpmp != nil || upnpGenIGDev != nil {
var (
nat NAT
ok bool
Expand Down

0 comments on commit c6e34f0

Please sign in to comment.