[Fixed] Fixed clash process name is Clash.Meta

This commit is contained in:
Skyxim
2022-02-04 17:36:34 +08:00
parent ae5a790510
commit 90e6ed4612
3 changed files with 20 additions and 17 deletions

View File

@ -28,7 +28,7 @@ func NewInner(conn net.Conn, dst string, host string) *context.ConnContext {
metadata.DNSMode = C.DNSMapping
metadata.Host = host
metadata.AddrType = C.AtypDomainName
metadata.Process = C.ClashName
if ip, port, err := parseAddr(dst); err == nil {
metadata.DstPort = port
if host == "" {