mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-18 20:00:03 -06:00

UPNP_AddPortMapping needs our IP address, however enet_address_get_host will return 0.0.0.0 or a host name in most cases. This gets our IP address from the socket to the IGD.