mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
set a default priority string if not set.
This commit is contained in:
@@ -182,6 +182,9 @@ static void check_cfg( struct cfg_st *config)
|
||||
|
||||
if (config->keepalive == 0)
|
||||
config->keepalive = 30;
|
||||
|
||||
if (config->priorities == NULL)
|
||||
config->priorities = "NORMAL:%SERVER_PRECEDENCE:%COMPAT";
|
||||
}
|
||||
|
||||
int cmd_parser (int argc, char **argv, struct cfg_st* config)
|
||||
|
||||
Reference in New Issue
Block a user