fix linux

This commit is contained in:
John Smith 2022-03-13 11:40:58 -04:00
parent e729682804
commit f7f4d86cf1

View File

@ -36,7 +36,7 @@ impl Network {
drop(bfs6); drop(bfs6);
inner.bound_first_udp.insert(udp_port, None); inner.bound_first_udp.insert(udp_port, None);
} else { } else {
inner.bound_first_udp.insert(udp_port, Some(bfs4, bfs6)); inner.bound_first_udp.insert(udp_port, Some((bfs4, bfs6)));
} }
} }
true true
@ -74,7 +74,7 @@ impl Network {
drop(bfs6); drop(bfs6);
inner.bound_first_tcp.insert(tcp_port, None); inner.bound_first_tcp.insert(tcp_port, None);
} else { } else {
inner.bound_first_tcp.insert(tcp_port, Some(bfs4, bfs6)); inner.bound_first_tcp.insert(tcp_port, Some((bfs4, bfs6)));
} }
} }
true true