mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Merged revisions 37949 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r37949 | kpfleming | 2006-07-19 12:10:10 -0500 (Wed, 19 Jul 2006) | 2 lines ensure that global 'maxauthreq' is reset to zero during 'reload' ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -145,7 +145,7 @@ static char context[80] = "default";
|
||||
static char language[MAX_LANGUAGE] = "";
|
||||
static char regcontext[AST_MAX_CONTEXT] = "";
|
||||
|
||||
static int maxauthreq = 0;
|
||||
static int maxauthreq = 3;
|
||||
static int max_retries = 4;
|
||||
static int ping_time = 20;
|
||||
static int lagrq_time = 10;
|
||||
@@ -8703,6 +8703,8 @@ static int set_config(char *config_file, int reload)
|
||||
min_reg_expire = IAX_DEFAULT_REG_EXPIRE;
|
||||
max_reg_expire = IAX_DEFAULT_REG_EXPIRE;
|
||||
|
||||
maxauthreq = 3;
|
||||
|
||||
v = ast_variable_browse(cfg, "general");
|
||||
|
||||
/* Seed initial tos value */
|
||||
|
Reference in New Issue
Block a user