@@ -1420,15 +1420,12 @@ fn test_handle_valid_multicast_query(#[case] medium: Medium) {
1420
1420
1421
1421
let mut eth_bytes = vec ! [ 0u8 ; 86 ] ;
1422
1422
1423
- let local_ip_addr = Ipv6Address :: new ( 0xfe80 , 0 , 0 , 0 , 0 , 0 , 0 , 101 ) ;
1423
+ let local_ip_addr = Ipv6Address :: new ( 0xfe80 , 0 , 0 , 0 , 0 , 0 , 0 , 1 ) ;
1424
1424
let remote_ip_addr = Ipv6Address :: new ( 0xfe80 , 0 , 0 , 0 , 0 , 0 , 0 , 100 ) ;
1425
1425
let remote_hw_addr = EthernetAddress ( [ 0x52 , 0x54 , 0x00 , 0x00 , 0x00 , 0x00 ] ) ;
1426
1426
let query_ip_addr = Ipv6Address :: new ( 0xff02 , 0 , 0 , 0 , 0 , 0 , 0 , 0x1234 ) ;
1427
1427
1428
1428
iface. join_multicast_group ( query_ip_addr) . unwrap ( ) ;
1429
- iface
1430
- . join_multicast_group ( local_ip_addr. solicited_node ( ) )
1431
- . unwrap ( ) ;
1432
1429
1433
1430
iface. poll ( timestamp, & mut device, & mut sockets) ;
1434
1431
// flush multicast reports from the join_multicast_group calls
@@ -1439,7 +1436,7 @@ fn test_handle_valid_multicast_query(#[case] medium: Medium) {
1439
1436
(
1440
1437
Ipv6Address :: UNSPECIFIED ,
1441
1438
IPV6_LINK_LOCAL_ALL_NODES ,
1442
- vec ! [ query_ip_addr , local_ip_addr. solicited_node( ) ] ,
1439
+ vec ! [ local_ip_addr. solicited_node( ) , query_ip_addr ] ,
1443
1440
) ,
1444
1441
// Address specific query, expect only the queried address back
1445
1442
( query_ip_addr, query_ip_addr, vec ! [ query_ip_addr] ) ,
0 commit comments