diff options
author | Alex Auvolat <alex@adnab.me> | 2023-04-05 09:47:58 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-04-05 09:47:58 +0200 |
commit | c356c4d1c471acd9d2f7e1dcfd3a432442177b48 (patch) | |
tree | 66f12a24e7a486457d1b907b1e268efd631eab8c /src/config/options.rs | |
parent | f410230240b270ec01cfbf0002cbe9d3849eb03b (diff) | |
download | diplonat-c356c4d1c471acd9d2f7e1dcfd3a432442177b48.tar.gz diplonat-c356c4d1c471acd9d2f7e1dcfd3a432442177b48.zip |
IPv6-only mode
Diffstat (limited to 'src/config/options.rs')
-rw-r--r-- | src/config/options.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/options.rs b/src/config/options.rs index 100c23c..fc9df16 100644 --- a/src/config/options.rs +++ b/src/config/options.rs @@ -19,6 +19,9 @@ pub struct ConfigOptsBase { pub refresh_time: Option<u16>, /// STUN server [default: stun.nextcloud.com:443] pub stun_server: Option<String>, + /// IPv6-only mode (disables IGD, IPv4 firewall and IPv4 address autodiscovery) [default: false] + #[serde(default)] + pub ipv6_only: bool, } /// ACME configuration options |