mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Accept "defaultexpirey" too
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5101,7 +5101,7 @@ static int reload_config(void)
|
||||
max_expiry = atoi(v->value);
|
||||
if (max_expiry < 1)
|
||||
max_expiry = DEFAULT_MAX_EXPIRY;
|
||||
} else if (!strcasecmp(v->name, "defaultexpiry")) {
|
||||
} else if (!strcasecmp(v->name, "defaultexpiry") || !strcasecmp(v->name, "defaultexpirey")) {
|
||||
default_expiry = atoi(v->value);
|
||||
if (default_expiry < 1)
|
||||
default_expiry = DEFAULT_DEFAULT_EXPIRY;
|
||||
|
Reference in New Issue
Block a user