On *nix privileged ports range between 1 to 1023 included, currently the code checking for them doesn't account for GUI ports entered by the user.
This patch aims to change the minimum allowed port number used by 'getValidPort(port)'.
Details
Details
- Reviewers
wraitii - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) - Commits
- rP24949: Prevent using privileged ports on *nix from the GUI
- Try hosting a match by with a port < 1024 --> The GUI should notify the user about 1024 being the minimum port
- Try hosting a match with port >= 1024 --> The match should be setup just fine.
Diff Detail
Diff Detail
- Repository
- rP 0 A.D. Public Repository
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.