mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
Added the mobile-idle-timeout config option.
This commit is contained in:
@@ -92,6 +92,7 @@ static struct cfg_options available_options[] = {
|
||||
{ .name = "rekey-time", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
{ .name = "auth-timeout", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
{ .name = "idle-timeout", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
{ .name = "mobile-idle-timeout", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
{ .name = "max-clients", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
{ .name = "min-reauth-time", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
{ .name = "max-same-clients", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
@@ -394,6 +395,7 @@ unsigned force_cert_auth;
|
||||
|
||||
READ_NUMERIC("auth-timeout", config->auth_timeout);
|
||||
READ_NUMERIC("idle-timeout", config->idle_timeout);
|
||||
READ_NUMERIC("mobile-idle-timeout", config->mobile_idle_timeout);
|
||||
READ_NUMERIC("max-clients", config->max_clients);
|
||||
READ_NUMERIC("min-reauth-time", config->min_reauth_time);
|
||||
READ_NUMERIC("max-same-clients", config->max_same_clients);
|
||||
|
||||
Reference in New Issue
Block a user