git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14029 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Brian West 2009-06-29 14:15:00 +00:00
parent 3abf6c9bc4
commit 0caea95293
1 changed files with 1 additions and 1 deletions

View File

@ -1963,7 +1963,7 @@ static void set_profile_val(mdl_profile_t *profile, char *var, char *val)
char *ip = globals.guess_ip;
if (!strcasecmp(val, "auto-nat")) {
ip = globals.auto_nat ? switch_core_get_variable("nat_public_addr") : globals.guess_ip;
} else if (strcasecmp(val, "auto")) {
} else if (!strcasecmp(val, "auto")) {
globals.auto_nat = 0;
ip = globals.guess_ip;
} else {