From 70a48ec3314a2c8b75fe42cbbf58514c91df85ec Mon Sep 17 00:00:00 2001 From: Gerhard Tan Date: Tue, 20 Aug 2024 17:17:26 +0800 Subject: [PATCH] Validate the local address of tls2raw client plugin --- ui/editproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/editproxy.go b/ui/editproxy.go index ad96b871..19b55bd0 100644 --- a/ui/editproxy.go +++ b/ui/editproxy.go @@ -658,7 +658,7 @@ func (pd *EditProxyDialog) validateProxy(p config.Proxy) bool { p.LocalIP = "" p.LocalPort = "" switch p.Plugin { - case consts.PluginHttp2Https, consts.PluginHttps2Http, consts.PluginHttps2Https: + case consts.PluginHttp2Https, consts.PluginHttps2Http, consts.PluginHttps2Https, consts.PluginTLS2Raw: if p.PluginLocalAddr == "" { showErrorMessage(pd.Form(), "", i18n.Sprintf("Local address is required.")) return false