aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/VppEndPointGroupManager.cpp2
-rw-r--r--src/test/VppManager_test.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/VppEndPointGroupManager.cpp b/src/VppEndPointGroupManager.cpp
index e0cc81d..9310e38 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 937ec37..ae2e12e 100644
--- a/src/test/VppManager_test.cpp
+++ b/src/test/VppManager_test.cpp
@@ -1219,7 +1219,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());
@@ -1280,7 +1280,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()}));
vxlan_tunnel *vt_v4 = new vxlan_tunnel(
host, spine_v4, 0x010203, vxlan_tunnel::mode_t::GBP_L2);