Skip to content

Commit 8167280

Browse files
..
1 parent 5c096e9 commit 8167280

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

dpd-client/tests/integration_tests/mcast.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3584,10 +3584,9 @@ async fn test_multicast_reset_all_tables() -> TestResult {
35843584
.await;
35853585

35863586
// 2b. Admin-scoped IPv6 group to test internal API with custom replication parameters
3587-
let admin_scoped_ip =
3588-
IpAddr::V6(Ipv6Addr::new(0xff04, 0, 0, 0, 0, 0, 0, 2));
3587+
let admin_scoped_ip = IpAddr::V6(Ipv6Addr::new(0xff04, 0, 0, 0, 0, 0, 0, 2));
35893588
let group_entry2b = types::MulticastGroupCreateEntry {
3590-
group_ip: admin_scoped_ip,
3589+
group_ip: Ipv6Addr::new(0xff04, 0, 0, 0, 0, 0, 0, 2),
35913590
tag: Some("test_reset_all_2b".to_string()),
35923591
sources: None,
35933592
members: vec![types::MulticastGroupMember {
@@ -4160,7 +4159,7 @@ async fn test_multicast_level1_exclusion_group_pruned() -> TestResult {
41604159
// Step 1: Create admin-scoped IPv6 internal group with replication members and exclusion
41614160
let internal_multicast_ip = IpAddr::V6(MULTICAST_NAT_IP);
41624161
let underlay_group = types::MulticastGroupCreateEntry {
4163-
group_ip: internal_multicast_ip,
4162+
group_ip: MULTICAST_NAT_IP,
41644163
tag: Some("test_level1_excl_underlay".to_string()),
41654164
sources: None,
41664165
members: vec![

dpd-client/tests/integration_tests/table_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ impl TableTest<types::MulticastGroupResponse, ()>
470470
let (port_id2, link_id2) = switch.link_id(PhysPort(12)).unwrap();
471471

472472
// Only IPv6 admin-scoped multicast addresses for replication table testing
473-
let group_ip = IpAddr::V6(gen_ipv6_multicast_addr(idx));
473+
let group_ip = gen_ipv6_multicast_addr(idx);
474474

475475
// Admin-scoped IPv6 groups are internal with replication info and members
476476
let internal_entry = types::MulticastGroupCreateEntry {

0 commit comments

Comments
 (0)