From 791bb4b39a3063c6732727c16134589e0d57a461 Mon Sep 17 00:00:00 2001 From: Liran Oz Date: Tue, 4 Sep 2018 13:19:33 +0000 Subject: [PATCH] issue: 1030772 Fix no socketXtreme multicast traffic on 2nd port Signed-off-by: Liran Oz --- src/vma/sock/sockinfo_udp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vma/sock/sockinfo_udp.cpp b/src/vma/sock/sockinfo_udp.cpp index 01cff4acac..4a22da95f2 100644 --- a/src/vma/sock/sockinfo_udp.cpp +++ b/src/vma/sock/sockinfo_udp.cpp @@ -1200,6 +1200,8 @@ int sockinfo_udp::setsockopt(int __level, int __optname, __const void *__optval, if (goto_os) { int ret = orig_os_api.setsockopt(m_fd, __level, __optname, __optval, __optlen); if (ret) return ret; + } else { + m_so_bindtodevice_ip = mc_if; } mc_change_membership_end_helper(mc_grp, __optname, mreqprm.imr_sourceaddr.s_addr);