mirror of https://github.com/tailscale/tailscale/
net/portmapper: return correct upnp port
Previously, this was incorrectly returning the internal port, and using that with the external exposed IP when it did not use WANIPConnection2. In the case when we must provide a port, we return it instead. Noticed this while implementing the integration test for upnp. Signed-off-by: julianknodt <julianknodt@gmail.com>pull/2483/head
parent
a5fb8e0731
commit
3a4201e773
Loading…
Reference in New Issue