1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-09-20 10:19:20 +03:00
Files
SoftEtherVPN/src/Cedar
Davide Beatrici 37f28b4119 Cedar/Command: add "limit_range" parameter to StrToPortList()
Originally, StrToPortList() returned NULL when it encountered a number equal to 0 or higher than 65535.

This commit adds a new parameter to the function called "limit_range":

- When its value is true, the function retains the original behavior.
- When its value is false, the function doesn't check whether the number is in the network port number range (1-65535).

The change is required because the command to set the UDP ports will allow to remove all ports by specifying "0" as the port number.
2020-05-20 20:17:40 +02:00
..
2018-05-16 23:47:10 +02:00
2020-05-01 07:14:38 +02:00
2019-11-23 04:23:56 +01:00
2020-05-19 17:25:04 +03:00
2014-01-04 22:00:08 +09:00
2014-01-04 22:00:08 +09:00
2019-11-23 04:23:51 +01:00
2020-05-02 21:08:19 +03:00
2020-05-02 21:08:19 +03:00
2020-05-11 08:22:44 +02:00
2020-05-11 23:09:26 +02:00
2019-10-30 01:39:11 +01:00
2019-11-23 04:23:51 +01:00
2020-05-11 23:06:01 +02:00