aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-10-30 05:53:53 +0800
committerFelix Lange <fjl@twurst.com>2015-10-30 05:53:59 +0800
commitbf11a47f22311a21639fa4f7794a41cf2f9b809e (patch)
treec40fd1ec6ecaba6d38dad67d0b72ee45c66bf500 /p2p
parentfc46cf337af614f4f9c96acd222089652fe7c76e (diff)
downloaddexon-bf11a47f22311a21639fa4f7794a41cf2f9b809e.tar
dexon-bf11a47f22311a21639fa4f7794a41cf2f9b809e.tar.gz
dexon-bf11a47f22311a21639fa4f7794a41cf2f9b809e.tar.bz2
dexon-bf11a47f22311a21639fa4f7794a41cf2f9b809e.tar.lz
dexon-bf11a47f22311a21639fa4f7794a41cf2f9b809e.tar.xz
dexon-bf11a47f22311a21639fa4f7794a41cf2f9b809e.tar.zst
dexon-bf11a47f22311a21639fa4f7794a41cf2f9b809e.zip
Godeps: upgrade github.com/huin/goupnp to 90f71cb5
Diffstat (limited to 'p2p')
-rw-r--r--p2p/nat/natupnp.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/p2p/nat/natupnp.go b/p2p/nat/natupnp.go
index 0bcb262bf..c544fbcb6 100644
--- a/p2p/nat/natupnp.go
+++ b/p2p/nat/natupnp.go
@@ -148,7 +148,12 @@ func discover(out chan<- *upnp, target string, matcher func(*goupnp.RootDevice,
return
}
// check for a matching IGD service
- sc := goupnp.ServiceClient{service.NewSOAPClient(), devs[i].Root, service}
+ sc := goupnp.ServiceClient{
+ SOAPClient: service.NewSOAPClient(),
+ RootDevice: devs[i].Root,
+ Location: devs[i].Location,
+ Service: service,
+ }
sc.SOAPClient.HTTPClient.Timeout = soapRequestTimeout
upnp := matcher(devs[i].Root, sc)
if upnp == nil {