From 3f647da3badec64ef95ad393e159386e171204fb Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 11 Apr 2019 22:31:41 -0700 Subject: [PATCH] fix detection of GenIG NATs fixes #6 --- nat.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nat.go b/nat.go index 727ae2a2e9..371fdb0354 100644 --- a/nat.go +++ b/nat.go @@ -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