aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-02-20 17:02:44 +0100
committerAlex Auvolat <alex@adnab.me>2024-02-20 17:02:44 +0100
commit643d1aabd8f229545991217faebd09445aa9b523 (patch)
tree3a9533543ba44f7f9bdd188e6c9b07e7ea0500cf /src/util
parenteb4a6ce1060a847be0b62c6a10ff3ba956e3f34d (diff)
parent885405d944f5f54bce12b53cf1d97f1ecd08887e (diff)
downloadgarage-643d1aabd8f229545991217faebd09445aa9b523.tar.gz
garage-643d1aabd8f229545991217faebd09445aa9b523.zip
Merge branch 'main' into next-0.10
Diffstat (limited to 'src/util')
-rw-r--r--src/util/config.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/config.rs b/src/util/config.rs
index a9a72110..056c625d 100644
--- a/src/util/config.rs
+++ b/src/util/config.rs
@@ -55,6 +55,9 @@ pub struct Config {
pub rpc_secret_file: Option<PathBuf>,
/// Address to bind for RPC
pub rpc_bind_addr: SocketAddr,
+ /// Bind outgoing sockets to rpc_bind_addr's IP address as well
+ #[serde(default)]
+ pub rpc_bind_outgoing: bool,
/// Public IP address of this node
pub rpc_public_addr: Option<String>,