Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c (15400 => 15401)
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-09 17:20:17 UTC (rev 15400)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia.c 2009-11-09 19:14:31 UTC (rev 15401)
@@ -1945,9 +1945,9 @@
}
} else if (!strcasecmp(var, "NDLB-allow-bad-iananame")) {
if (switch_true(val)) {
- sofia_set_pflag(profile, PFLAG_NDLB_ALLOW_BAD_IANANAME);
+ profile->ndlb |= PFLAG_NDLB_ALLOW_BAD_IANANAME;
} else {
- sofia_clear_pflag(profile, PFLAG_NDLB_ALLOW_BAD_IANANAME);
+ profile->ndlb &= ~PFLAG_NDLB_ALLOW_BAD_IANANAME;
}
} else if (!strcasecmp(var, "aggressive-nat-detection")) {
if (switch_true(val)) {
@@ -2694,9 +2694,9 @@
}
} else if (!strcasecmp(var, "NDLB-allow-bad-iananame")) {
if (switch_true(val)) {
- sofia_set_pflag(profile, PFLAG_NDLB_ALLOW_BAD_IANANAME);
+ profile->ndlb |= PFLAG_NDLB_ALLOW_BAD_IANANAME;
} else {
- sofia_clear_pflag(profile, PFLAG_NDLB_ALLOW_BAD_IANANAME);
+ profile->ndlb &= ~PFLAG_NDLB_ALLOW_BAD_IANANAME;
}
} else if (!strcasecmp(var, "pass-rfc2833")) {
if (switch_true(val)) {