mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-01 21:33:00 +00:00
FS-11906: [mod_sofia] fix NDLB-allow-bad-iananame profile param
This commit is contained in:
parent
03077d3133
commit
8e129b913d
@ -5389,9 +5389,9 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name)
|
|||||||
}
|
}
|
||||||
} else if (!strcasecmp(var, "NDLB-allow-bad-iananame")) {
|
} else if (!strcasecmp(var, "NDLB-allow-bad-iananame")) {
|
||||||
if (switch_true(val)) {
|
if (switch_true(val)) {
|
||||||
profile->mndlb |= SM_NDLB_ALLOW_BAD_IANANAME;
|
profile->ndlb |= SM_NDLB_ALLOW_BAD_IANANAME;
|
||||||
} else {
|
} else {
|
||||||
profile->mndlb &= ~SM_NDLB_ALLOW_BAD_IANANAME;
|
profile->ndlb &= ~SM_NDLB_ALLOW_BAD_IANANAME;
|
||||||
}
|
}
|
||||||
} else if (!strcasecmp(var, "NDLB-expires-in-register-response")) {
|
} else if (!strcasecmp(var, "NDLB-expires-in-register-response")) {
|
||||||
if (switch_true(val)) {
|
if (switch_true(val)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user