From df5ac064f5230273d318ba4a4582441b4bc0976d Mon Sep 17 00:00:00 2001 From: Neale Ranns Date: Thu, 27 Jun 2019 06:07:30 -0700 Subject: IGMP join - send host address in source list Change-Id: Ic4b13cb3b9387997273ced1402d6fcdb3cca5fb8 Signed-off-by: Neale Ranns --- src/VppEndPointGroupManager.cpp | 2 +- src/test/VppManager_test.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/VppEndPointGroupManager.cpp b/src/VppEndPointGroupManager.cpp index 38c3e27..7aa1826 100644 --- a/src/VppEndPointGroupManager.cpp +++ b/src/VppEndPointGroupManager.cpp @@ -195,7 +195,7 @@ EndPointGroupManager::mk_mcast_tunnel(Runtime &r, igmp_binding igmp_b(*r.uplink.local_interface()); OM::write(key, igmp_b); - igmp_listen igmp_l(igmp_b, dst.to_v4()); + igmp_listen igmp_l(igmp_b, dst.to_v4(), {r.uplink.local_address().to_v4()}); OM::write(key, igmp_l); return (vt.singular()); diff --git a/src/test/VppManager_test.cpp b/src/test/VppManager_test.cpp index bdae4ba..6522425 100644 --- a/src/test/VppManager_test.cpp +++ b/src/test/VppManager_test.cpp @@ -1205,7 +1205,7 @@ BOOST_FIXTURE_TEST_CASE(trans_endpoint_group_add_del, igmp_binding igmp_b(v_sub); WAIT_FOR_MATCH(igmp_b); - WAIT_FOR_MATCH(igmp_listen(igmp_b, bd_mcast.to_v4())); + WAIT_FOR_MATCH(igmp_listen(igmp_b, bd_mcast.to_v4(), {host.to_v4()})); removeEpg(epg0); vppManager.egDomainUpdated(epg0->getURI()); @@ -1267,7 +1267,7 @@ BOOST_FIXTURE_TEST_CASE(ext_itf, VppTransportManagerFixture) WAIT_FOR_MATCH(*vt_bd_mcast); igmp_binding igmp_b(v_sub); WAIT_FOR_MATCH(igmp_b); - WAIT_FOR_MATCH(igmp_listen(igmp_b, bd_mcast.to_v4())); + WAIT_FOR_MATCH(igmp_listen(igmp_b, bd_mcast.to_v4(), {host.to_v4()})); gbp_bridge_domain *v_gbd = new gbp_bridge_domain(v_bd, v_bvi, {}, vt_bd_mcast); -- cgit 1.2.3-korg