mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-12 09:51:24 +02: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.