Skip to content

Commit

Permalink
UDP is not supported for clash when using snell
Browse files Browse the repository at this point in the history
  • Loading branch information
kenxx committed Aug 2, 2023
1 parent 05f28f7 commit e51f64b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/generator/config/subexport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,9 @@ void proxyToClash(std::vector<Proxy> &nodes, YAML::Node &yamlnode, const ProxyGr
continue;
}

if(udp)
// UDP is not supported yet in clash using snell
// sees in https://dreamacro.github.io/clash/configuration/outbound.html#snell
if(udp && x.Type != ProxyType::Snell)
singleproxy["udp"] = true;
if(block)
singleproxy.SetStyle(YAML::EmitterStyle::Block);
Expand Down

0 comments on commit e51f64b

Please sign in to comment.