Skip to content

Commit

Permalink
PortMappingManager: Add PortMappingImpl
Browse files Browse the repository at this point in the history
Refactor libPlum implementation
Add miniupnpc implementation as a fallback
  • Loading branch information
past-due committed Jul 23, 2024
1 parent dd0ea76 commit d833687
Show file tree
Hide file tree
Showing 3 changed files with 837 additions and 54 deletions.
2 changes: 1 addition & 1 deletion lib/netplay/netplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ void NETaddRedirects()
std::string msg;
if (status == PortMappingDiscoveryStatus::TIMEOUT)
{
msg = astringf(_("Failed to create port mapping (timeout after %d seconds)"), PortMappingManager::DISCOVERY_TIMEOUT_SECONDS);
msg = _("Failed to create port mapping (timeout)");
}
else
{
Expand Down
Loading

0 comments on commit d833687

Please sign in to comment.