@@ -1129,12 +1129,12 @@ fn get_source_address(#[case] medium: Medium) {
1129
1129
} ) ;
1130
1130
1131
1131
// List of addresses we test:
1132
- // 172.18.1.255 -> 172.18.1.2
1132
+ // 172.18.1.254 -> 172.18.1.2
1133
1133
// 172.24.24.12 -> 172.24.24.14
1134
- // 172.24.23.255 -> 172.18.1.2
1135
- const UNIQUE_LOCAL_ADDR1 : Ipv4Address = Ipv4Address :: new ( 172 , 18 , 1 , 255 ) ;
1134
+ // 172.24.23.254 -> 172.18.1.2
1135
+ const UNIQUE_LOCAL_ADDR1 : Ipv4Address = Ipv4Address :: new ( 172 , 18 , 1 , 254 ) ;
1136
1136
const UNIQUE_LOCAL_ADDR2 : Ipv4Address = Ipv4Address :: new ( 172 , 24 , 24 , 12 ) ;
1137
- const UNIQUE_LOCAL_ADDR3 : Ipv4Address = Ipv4Address :: new ( 172 , 24 , 23 , 255 ) ;
1137
+ const UNIQUE_LOCAL_ADDR3 : Ipv4Address = Ipv4Address :: new ( 172 , 24 , 23 , 254 ) ;
1138
1138
1139
1139
assert_eq ! (
1140
1140
iface. inner. get_source_address_ipv4( & UNIQUE_LOCAL_ADDR1 ) ,
@@ -1162,12 +1162,12 @@ fn get_source_address_empty_interface(#[case] medium: Medium) {
1162
1162
iface. update_ip_addrs ( |ips| ips. clear ( ) ) ;
1163
1163
1164
1164
// List of addresses we test:
1165
- // 172.18.1.255 -> None
1165
+ // 172.18.1.254 -> None
1166
1166
// 172.24.24.12 -> None
1167
- // 172.24.23.255 -> None
1168
- const UNIQUE_LOCAL_ADDR1 : Ipv4Address = Ipv4Address :: new ( 172 , 18 , 1 , 255 ) ;
1167
+ // 172.24.23.254 -> None
1168
+ const UNIQUE_LOCAL_ADDR1 : Ipv4Address = Ipv4Address :: new ( 172 , 18 , 1 , 254 ) ;
1169
1169
const UNIQUE_LOCAL_ADDR2 : Ipv4Address = Ipv4Address :: new ( 172 , 24 , 24 , 12 ) ;
1170
- const UNIQUE_LOCAL_ADDR3 : Ipv4Address = Ipv4Address :: new ( 172 , 24 , 23 , 255 ) ;
1170
+ const UNIQUE_LOCAL_ADDR3 : Ipv4Address = Ipv4Address :: new ( 172 , 24 , 23 , 254 ) ;
1171
1171
1172
1172
assert_eq ! (
1173
1173
iface. inner. get_source_address_ipv4( & UNIQUE_LOCAL_ADDR1 ) ,
0 commit comments