mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-03 00:44:47 -04:00
net/portmapper: Stop replacing the internal port with the upnp external port (#18349)
net/portmapper: Stop replacing the internal port with the upnp external port This causes the UPnP mapping to break in the next recreation of the mapping. Fixes #18348 Signed-off-by: Eduardo Sorribas <eduardo@sorribas.org>
This commit is contained in:
1 parent
3840183be9
commit
7676030355
1 file changed
+1
-1
@@ -574,7 +574,7 @@ type step struct {
|
||||
c.mu.Lock()
|
||||
defer c.mu.Unlock()
|
||||
c.mapping = upnp
|
||||
c.localPort = externalAddrPort.Port()
|
||||
c.localPort = internal.Port()
|
||||
return upnp.external, true
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user