From 1843e19d82eba3e64721b3955fdfbf36579d4499 Mon Sep 17 00:00:00 2001 From: Stennsen Date: Sat, 6 Jul 2024 22:02:03 +0200 Subject: [PATCH] set prefer_ipv6 default value --- src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.rs b/src/config.rs index c11430f..270fed5 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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, pub nodelay: Option,