Update dependencies
This commit is contained in:
1 parent
f0641ffd6e
commit
5a9cfc022c
882 files changed
+68907
-24178
No files matched your search
+3
-2
@@ -610,8 +610,9 @@ func (c *Client) tryUPnPPortmapWithDevice(
|
||||
}
|
||||
|
||||
// From the UPnP spec: http://upnp.org/specs/gw/UPnP-gw-WANIPConnection-v2-Service.pdf
|
||||
// 402: Invalid Args (see: https://github.com/tailscale/tailscale/issues/15223)
|
||||
// 725: OnlyPermanentLeasesSupported
|
||||
if ok && code == 725 {
|
||||
if ok && (code == 402 || code == 725) {
|
||||
newPort, err = addAnyPortMapping(
|
||||
ctx,
|
||||
client,
|
||||
@@ -620,7 +621,7 @@ func (c *Client) tryUPnPPortmapWithDevice(
|
||||
internal.Addr().String(),
|
||||
0, // permanent
|
||||
)
|
||||
c.vlogf("addAnyPortMapping: 725 retry %v, err=%q", newPort, err)
|
||||
c.vlogf("addAnyPortMapping: errcode=%d retried: port=%v err=%v", code, newPort, err)
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user