aboutsummaryrefslogtreecommitdiff
path: root/src/garage
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-02-19 11:24:33 +0100
committerAlex Auvolat <alex@adnab.me>2024-02-19 11:45:44 +0100
commitb96f84b894684ed43e281a3aa2f391b424414a84 (patch)
treea55cb8b6f3306acbd3bd1a90add88e33405680fc /src/garage
parentf0bbad2db95b00ec429f498fe15f1007bd87da5e (diff)
downloadgarage-b96f84b894684ed43e281a3aa2f391b424414a84.tar.gz
garage-b96f84b894684ed43e281a3aa2f391b424414a84.zip
[networking-fixes] add option to bind outgoing RPC sockets (fix #638)
Thanks to yuka for the original patch.
Diffstat (limited to 'src/garage')
-rw-r--r--src/garage/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/main.rs b/src/garage/main.rs
index 4d8dcc67..e489fff0 100644
--- a/src/garage/main.rs
+++ b/src/garage/main.rs
@@ -203,7 +203,7 @@ async fn cli_command(opt: Opt) -> Result<(), Error> {
// Generate a temporary keypair for our RPC client
let (_pk, sk) = sodiumoxide::crypto::sign::ed25519::gen_keypair();
- let netapp = NetApp::new(GARAGE_VERSION_TAG, network_key, sk);
+ let netapp = NetApp::new(GARAGE_VERSION_TAG, network_key, sk, None);
// Find and parse the address of the target host
let (id, addr, is_default_addr) = if let Some(h) = opt.rpc_host {