[networking-fixes] add option to bind outgoing RPC sockets (fix #638)

Thanks to yuka for the original patch.
This commit is contained in:
Alex Auvolat
2024-02-19 11:24:33 +01:00
parent f0bbad2db9
commit b96f84b894
5 changed files with 31 additions and 7 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ fn run_netapp(
Arc<NetApp>,
Arc<PeeringManager>,
) {
let netapp = NetApp::new(0u64, netid, sk);
let netapp = NetApp::new(0u64, netid, sk, None);
let peering = PeeringManager::new(netapp.clone(), bootstrap_peers, None);
let peering2 = peering.clone();