<h1>Project "FreeSWITCH Source" received a push.</h1>
<h2>branch: master updated</h2>
<pre>
via: c18835d3f919c7ba260dfa0e61254fb305850518 (commit)
from: 986f258db05f7b841fcb68231ae07d5174fbcb38 (commit)
</pre>= COMMIT LOG ===========================================================
<div class="highlight"><pre>committer: Mathieu Parent
comments:
Skinny: Allow to listen on ipv6
also allow to specify a blank ip which means: all
<span style="color: #000080; font-weight: bold">diff --git a/src/mod/endpoints/mod_skinny/mod_skinny.c b/src/mod/endpoints/mod_skinny/mod_skinny.c</span>
<span style="color: #000080; font-weight: bold">index 4061b94..a30b0fd 100644</span>
<span style="color: #A00000">--- a/src/mod/endpoints/mod_skinny/mod_skinny.c</span>
<span style="color: #00A000">+++ b/src/mod/endpoints/mod_skinny/mod_skinny.c</span>
<span style="color: #800080; font-weight: bold">@@ -1524,7 +1524,7 @@ static void *SWITCH_THREAD_FUNC skinny_profile_run(switch_thread_t *thread, void</span>
new_socket:
        while(globals.running) {
                switch_clear_flag_locked(profile, PFLAG_RESPAWN);
<span style="color: #A00000">-                rv = switch_sockaddr_info_get(&sa, profile->ip, SWITCH_INET, profile->port, 0, tmp_pool);</span>
<span style="color: #00A000">+                rv = switch_sockaddr_info_get(&sa, profile->ip, SWITCH_UNSPEC, profile->port, 0, tmp_pool);</span>
                if (rv)
                        goto fail;
                rv = switch_socket_create(&profile->sock, switch_sockaddr_get_family(sa), SOCK_STREAM, SWITCH_PROTO_TCP, tmp_pool);
<span style="color: #800080; font-weight: bold">@@ -1663,7 +1663,7 @@ switch_status_t skinny_profile_set(skinny_profile_t *profile, const char *var, c</span>
                profile->domain = switch_core_strdup(profile->pool, val);
        } else if (!strcasecmp(var, "ip")) {
                if (!profile->ip || strcmp(val, profile->ip)) {
<span style="color: #A00000">-                        profile->ip = switch_core_strdup(profile->pool, val);</span>
<span style="color: #00A000">+                        profile->ip = switch_core_strdup(profile->pool, zstr(val) ? NULL : val);</span>
                        switch_set_flag_locked(profile, PFLAG_SHOULD_RESPAWN);
                }
        } else if (!strcasecmp(var, "port")) {
</pre></div>
========================================================================<pre>
Summary of changes:
src/mod/endpoints/mod_skinny/mod_skinny.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
</pre>
<p>this email was generated because of /git/your-repo.git/hooks/post-receive by the file /git-core/contrib/hooks/post-receive-email<br />
For more info, see <a href="http://blog.chomperstomp.com/?p=630">http://blog.chomperstomp.com/?p=630</a>
-- <br />
FreeSWITCH Source</p>