mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-13 23:12:45 -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.