diff options
Diffstat (limited to 'p2p')
-rw-r--r-- | p2p/nat/natupnp.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p2p/nat/natupnp.go b/p2p/nat/natupnp.go index 890a35043..804396e94 100644 --- a/p2p/nat/natupnp.go +++ b/p2p/nat/natupnp.go @@ -139,6 +139,7 @@ func discoverUPnP() Interface { func discover(out chan<- *upnp, target string, matcher func(*goupnp.RootDevice, goupnp.ServiceClient) *upnp) { devs, err := goupnp.DiscoverDevices(target) if err != nil { + out <- nil return } found := false |