diff options
author | Alex <alex@adnab.me> | 2024-02-19 11:44:05 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2024-02-19 11:44:05 +0000 |
commit | 6bb34899f225141e65e79fe140b9abca29b39fd6 (patch) | |
tree | 250bb249084a3c4678c0088fcba0eb52d8344181 /src/util/config.rs | |
parent | b8217361c05883a839996a7db24be71c601e428f (diff) | |
parent | eab54b37981073651712a15334b60b2c409f2576 (diff) | |
download | garage-6bb34899f225141e65e79fe140b9abca29b39fd6.tar.gz garage-6bb34899f225141e65e79fe140b9abca29b39fd6.zip |
Merge pull request 'fixes to RPC networking' (#721) from networking-fixes into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/721
Diffstat (limited to 'src/util/config.rs')
-rw-r--r-- | src/util/config.rs | 3 |
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>, |