good morning!!!!

Skip to content
Snippets Groups Projects
Commit b8f4a48a authored by Péter Szilágyi's avatar Péter Szilágyi
Browse files

Merge pull request #2337 from karalabe/upnp-error-hang

p2p/nat: fix #2291, NAT discovery did't abort on failure
parents 8a3ce545 64c8e2f2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment