Skip to content

Fix UPnP port mapping not working

SteelT requested to merge fix-upnp-add into next

Despite UPNP_AddPortMapping returning success status, no port mapping would actually be added at all. And that's due to a memset call in the middle of the function.

Wiping the IGDdatas struct, moving the memset to the start of the function fixes it and a port mapping is actually created/removed when a server is started/stopped.

Edited by SteelT

Merge request reports