Skip to content
Snippets Groups Projects

Fix UPnP port mapping not working

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading