|
|
@@ -167,8 +167,17 @@ impl RendezvousServer {
|
|
167
|
167
|
};
|
|
168
|
168
|
tokio::spawn(async move {
|
|
169
|
169
|
if let Err(err) = test_hbbs(test_addr).await {
|
|
170
|
|
- log::error!("Failed to run hbbs test with {test_addr}: {err}");
|
|
171
|
|
- std::process::exit(1);
|
|
|
170
|
+ if test_addr.is_ipv6() && test_addr.ip().is_unspecified() {
|
|
|
171
|
+ let mut test_addr = test_addr;
|
|
|
172
|
+ test_addr.set_ip(IpAddr::V4(Ipv4Addr::UNSPECIFIED));
|
|
|
173
|
+ if let Err(err) = test_hbbs(test_addr).await {
|
|
|
174
|
+ log::error!("Failed to run hbbs test with {test_addr}: {err}");
|
|
|
175
|
+ std::process::exit(1);
|
|
|
176
|
+ }
|
|
|
177
|
+ } else {
|
|
|
178
|
+ log::error!("Failed to run hbbs test with {test_addr}: {err}");
|
|
|
179
|
+ std::process::exit(1);
|
|
|
180
|
+ }
|
|
172
|
181
|
}
|
|
173
|
182
|
});
|
|
174
|
183
|
};
|