]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
don't need to do this like that for ext-rtp-ip
authorBrian West <brian@freeswitch.org>
Fri, 5 Sep 2008 14:46:16 +0000 (14:46 +0000)
committerBrian West <brian@freeswitch.org>
Fri, 5 Sep 2008 14:46:16 +0000 (14:46 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9463 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_sofia/sofia.c

index 718c0444d2ca5dd31162d1e25b1fb785042c3c42..7c99c08c36b90d2d12974c54143597084f85afb8 100644 (file)
@@ -1497,12 +1497,7 @@ switch_status_t config_sofia(int reload, char *profile_name)
                                                        if (!strcmp(val, "0.0.0.0")) {
                                                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid IP 0.0.0.0 replaced with %s\n", mod_sofia_globals.guess_ip);
                                                        } else {
-                                                               if (!switch_strlen_zero(val)) {
-                                                                       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Invalid ext-rtp-ip replaced with %s\n", mod_sofia_globals.guess_ip);
-                                                                       ip = "auto";
-                                                               } else {
                                                                        ip = strcasecmp(val, "auto") ? val : mod_sofia_globals.guess_ip;
-                                                               }
                                                        }
                                                        profile->extrtpip = switch_core_strdup(profile->pool, ip);
                                                } else {