mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-02 06:32:32 -08:00
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 <[email protected]>