From 76b231e5d72c989cdfded5a4e0ca6dc846623f59 Mon Sep 17 00:00:00 2001
From: jkito <belter@riseup.net>
Date: Sat, 27 Jul 2024 21:07:50 +0530
Subject: [PATCH] kcp: update config parser to load value of KCP

this was missed in 37a714e7 where the value of kcp
was written to the config file but during  parsing
the value was not added to the local struct
---
 pkg/config/gui.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkg/config/gui.go b/pkg/config/gui.go
index 4c38e366..7d9ec5b6 100644
--- a/pkg/config/gui.go
+++ b/pkg/config/gui.go
@@ -80,6 +80,7 @@ func ParseConfig() *Config {
 	conf.StartVPN = !conf.file.UserStoppedVPN
 	conf.UDP = conf.file.UDP
 	conf.Snowflake = conf.file.Snowflake
+	conf.KCP = conf.file.KCP
 	return &conf
 }
 
-- 
GitLab