]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6818 #resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 12 Sep 2014 13:49:58 +0000 (18:49 +0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 12 Sep 2014 13:49:58 +0000 (18:49 +0500)
src/mod/endpoints/mod_verto/mod_verto.c

index f15f291ad9cb9fc6cdef53c960dde65c5db7ae93..5586e55d1e13970c2271856e3343573b255bf0c7 100644 (file)
@@ -3764,7 +3764,7 @@ static int profile_one_loop(verto_profile_t *profile)
                }
                        
                if (pfds[x].revents & SWITCH_POLL_READ) {
-                       if (pfds[x].sock == profile->mcast_sub.sock) {
+                       if (profile->mcast_ip && pfds[x].sock == profile->mcast_sub.sock) {
                                handle_mcast_sub(profile);
                        } else {
                                start_jsock(profile, pfds[x].sock);