-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
upnpctrl: don't open mappings by default
The UPnPContext class currently has hardcoded limits on the number of mappings that need to be "available" at any given time. This patch adds the ability to modify these limits and sets them to zero in the upnpctrl tool. This changes the behavior of the tool in two ways: 1) setting the minimum limit to zero means that no mappings are opened when upnpctrl starts; 2) setting the maximum limit to zero means that the "close" command will always cause the relevant mapping to be closed immediately instead of (potentially) being put back in the list of available mappings. Change-Id: Idcf4262ce80a8b39f19ce7d3a201b40b3ea56911
- Loading branch information
François-Simon Fauteux-Chapleau
committed
Dec 4, 2024
1 parent
9b4b585
commit 6642a62
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters