Skip to content

Commit 4d6d726

Browse files
..
1 parent 91cd396 commit 4d6d726

File tree

1 file changed

+5
-2
lines changed
  • dpd-client/tests/integration_tests

1 file changed

+5
-2
lines changed

dpd-client/tests/integration_tests/mcast.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ async fn test_internal_ipv6_validation() {
502502

503503
// Test 1: IPv4-mapped IPv6 addresses should be rejected as invalid multicast
504504
let ipv4_mapped_internal = types::MulticastGroupCreateEntry {
505-
group_ip: "::ffff:224.1.1.1".parse().unwrap(), // IPv4-mapped IPv6
505+
group_ip: "::ffff:224.1.1.1".parse().unwrap(), // IPv4-mapped IPv6
506506
tag: Some("test_ipv4_mapped_internal".to_string()),
507507
sources: None,
508508
members: vec![types::MulticastGroupMember {
@@ -512,7 +512,10 @@ async fn test_internal_ipv6_validation() {
512512
}],
513513
};
514514

515-
let ipv4_mapped_res = switch.client.multicast_group_create(&ipv4_mapped_internal).await;
515+
let ipv4_mapped_res = switch
516+
.client
517+
.multicast_group_create(&ipv4_mapped_internal)
518+
.await;
516519

517520
assert!(
518521
ipv4_mapped_res.is_err(),

0 commit comments

Comments
 (0)