mirror of
https://github.com/fluencelabs/redis
synced 2025-06-24 14:31:34 +00:00
Remove disabling TCP with port -1
This commit is contained in:
@ -66,9 +66,7 @@ void loadServerConfig(char *filename) {
|
||||
}
|
||||
} else if (!strcasecmp(argv[0],"port") && argc == 2) {
|
||||
server.port = atoi(argv[1]);
|
||||
if (server.port != -1 &&
|
||||
(server.port < 1 || server.port > 65535))
|
||||
{
|
||||
if (server.port < 1 || server.port > 65535) {
|
||||
err = "Invalid port"; goto loaderr;
|
||||
}
|
||||
} else if (!strcasecmp(argv[0],"bind") && argc == 2) {
|
||||
|
Reference in New Issue
Block a user