diff options
author | Alex <alex@adnab.me> | 2024-06-18 12:40:07 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2024-06-18 12:40:07 +0000 |
commit | 770384cae1fa5999e7a973929504a152f02d59c1 (patch) | |
tree | c42953cff517cd29df50f9505e8ace41eb9074f9 /src/util | |
parent | d38509ef4b36a558c6aea71b52d27ba561ad57a4 (diff) | |
parent | a0f6bc5b7faa0d557179a7c4ed4c8d0facb9afa4 (diff) | |
download | garage-770384cae1fa5999e7a973929504a152f02d59c1.tar.gz garage-770384cae1fa5999e7a973929504a152f02d59c1.zip |
Merge pull request 'add rpc_public_addr_subnet config option' (#817) from flokli/garage:rpc_public_addr_subnet into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/817
Reviewed-by: Alex <alex@adnab.me>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/config.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/config.rs b/src/util/config.rs index 028f8c68..59329c0b 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -85,6 +85,10 @@ pub struct Config { /// Public IP address of this node pub rpc_public_addr: Option<String>, + /// In case `rpc_public_addr` was not set, this can filter + /// the addresses announced to other peers to a specific subnet. + pub rpc_public_addr_subnet: Option<String>, + /// Timeout for Netapp's ping messagess pub rpc_ping_timeout_msec: Option<u64>, /// Timeout for Netapp RPC calls |