Skip to content

Commit

Permalink
set prefer_ipv6 default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Stennsen committed Jul 6, 2024
1 parent dc45ffb commit 1843e19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ pub struct ClientServiceConfig {
#[serde(skip)]
pub name: String,
pub local_addr: String,
#[serde(default)] // Default to false
pub prefer_ipv6: bool,
pub token: Option<MaskedString>,
pub nodelay: Option<bool>,
Expand Down

0 comments on commit 1843e19

Please sign in to comment.