Resolve the priority issue with SCV,UDP parameters.(#29)

This commit is contained in:
asdlokj1qpi23
2024-07-19 11:30:04 +08:00
parent e9c39481df
commit e22f043213
3 changed files with 6 additions and 6 deletions

View File

@@ -117,10 +117,10 @@ match = '^Smart Access expire: (\d+)/(\d+)/(\d+)$'
replace = '$1:$2:$3:0:0:0'
[node_pref]
udp_flag = true
tcp_fast_open_flag = false
skip_cert_verify_flag = true
tls13_flag = false
#udp_flag = true
#tcp_fast_open_flag = false
#skip_cert_verify_flag = true
#tls13_flag = false
sort_flag = false
# Script used for sorting nodes. A "compare" function with 2 arguments which are the 2 nodes to be compared should be defined in the script. Supports inline script and script path.

View File

@@ -236,7 +236,7 @@ proxyToClash(std::vector<Proxy> &nodes, YAML::Node &yamlnode, const ProxyGroupCo
tribool tfo = ext.tfo;
udp.define(x.UDP);
xudp.define(x.XUDP);
scv = x.AllowInsecure;
scv.define(x.AllowInsecure);
tfo.define(x.TCPFastOpen);
singleproxy["name"] = x.Remark;
singleproxy["server"] = x.Hostname;

View File

@@ -1,6 +1,6 @@
#ifndef VERSION_H_INCLUDED
#define VERSION_H_INCLUDED
#define VERSION "v0.9.6"
#define VERSION "v0.9.7"
#endif // VERSION_H_INCLUDED