Commit 3f647da3 authored by Steven Allen's avatar Steven Allen

fix detection of GenIG NATs

fixes #6
parent 4a84cb45
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment