FS-6818 #resolve

This commit is contained in:
Anthony Minessale 2014-09-12 18:49:58 +05:00
parent 96bd8ebd28
commit efe0ebd318
1 changed files with 1 additions and 1 deletions

View 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);