mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-24 11:48:48 +00:00
FS-3034
This commit is contained in:
parent
50ce2cae2e
commit
8ae9ab5d15
@ -1106,7 +1106,7 @@ static int config(void)
|
|||||||
} else {
|
} else {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid encoding strategy '%s' specified\n", val);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid encoding strategy '%s' specified\n", val);
|
||||||
}
|
}
|
||||||
} else if (!strcasecmp(var, "apply-inbound-acl")) {
|
} else if (!strcasecmp(var, "apply-inbound-acl") && ! zstr(val)) {
|
||||||
if (prefs.acl_count < MAX_ACL) {
|
if (prefs.acl_count < MAX_ACL) {
|
||||||
prefs.acl[prefs.acl_count++] = strdup(val);
|
prefs.acl[prefs.acl_count++] = strdup(val);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user