mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
added option to send statistics periodically to sec-mod
This commit is contained in:
@@ -109,6 +109,7 @@ static struct cfg_options available_options[] = {
|
||||
{ .name = "net-priority", .type = OPTION_STRING, .mandatory = 0 },
|
||||
{ .name = "output-buffer", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
{ .name = "cookie-timeout", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
{ .name = "stats-report-time", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
{ .name = "rekey-time", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
{ .name = "rekey-method", .type = OPTION_STRING, .mandatory = 0 },
|
||||
{ .name = "auth-timeout", .type = OPTION_NUMERIC, .mandatory = 0 },
|
||||
@@ -577,6 +578,8 @@ unsigned force_cert_auth;
|
||||
|
||||
READ_TF("deny-roaming", config->deny_roaming, 0);
|
||||
|
||||
READ_NUMERIC("stats-report-time", config->stats_report_time);
|
||||
|
||||
config->rekey_time = -1;
|
||||
READ_NUMERIC("rekey-time", config->rekey_time);
|
||||
if (config->rekey_time == -1) {
|
||||
|
||||
Reference in New Issue
Block a user