diff options
author | Felix Lange <fjl@twurst.com> | 2015-10-30 05:53:53 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-10-30 05:53:59 +0800 |
commit | bf11a47f22311a21639fa4f7794a41cf2f9b809e (patch) | |
tree | c40fd1ec6ecaba6d38dad67d0b72ee45c66bf500 /p2p/nat | |
parent | fc46cf337af614f4f9c96acd222089652fe7c76e (diff) | |
download | go-tangerine-bf11a47f22311a21639fa4f7794a41cf2f9b809e.tar.gz go-tangerine-bf11a47f22311a21639fa4f7794a41cf2f9b809e.tar.zst go-tangerine-bf11a47f22311a21639fa4f7794a41cf2f9b809e.zip |
Godeps: upgrade github.com/huin/goupnp to 90f71cb5
Diffstat (limited to 'p2p/nat')
-rw-r--r-- | p2p/nat/natupnp.go | 7 |
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 { |