FS-11906: [mod_sofia] fix NDLB-allow-bad-iananame profile param

This commit is contained in:
Mike Jerris 2019-06-27 15:30:21 -04:00
parent 03077d3133
commit 8e129b913d
1 changed files with 2 additions and 2 deletions

View File

@ -5389,9 +5389,9 @@ switch_status_t config_sofia(sofia_config_t reload, char *profile_name)
}
} else if (!strcasecmp(var, "NDLB-allow-bad-iananame")) {
if (switch_true(val)) {
profile->mndlb |= SM_NDLB_ALLOW_BAD_IANANAME;
profile->ndlb |= SM_NDLB_ALLOW_BAD_IANANAME;
} else {
profile->mndlb &= ~SM_NDLB_ALLOW_BAD_IANANAME;
profile->ndlb &= ~SM_NDLB_ALLOW_BAD_IANANAME;
}
} else if (!strcasecmp(var, "NDLB-expires-in-register-response")) {
if (switch_true(val)) {