mirror of https://github.com/XTLS/Xray-core
Sniffer-destOverride: Remove `fakedns+others` option (#4739)
https://github.com/XTLS/Xray-core/pull/4726#issuecomment-2886494540pull/4790/head
parent
ab0b9a6220
commit
4e1a6f0fd1
|
@ -69,10 +69,8 @@ func (c *SniffingConfig) Build() (*proxyman.SniffingConfig, error) {
|
||||||
p = append(p, "tls")
|
p = append(p, "tls")
|
||||||
case "quic":
|
case "quic":
|
||||||
p = append(p, "quic")
|
p = append(p, "quic")
|
||||||
case "fakedns":
|
case "fakedns", "fakedns+others":
|
||||||
p = append(p, "fakedns")
|
p = append(p, "fakedns")
|
||||||
case "fakedns+others":
|
|
||||||
p = append(p, "fakedns+others")
|
|
||||||
default:
|
default:
|
||||||
return nil, errors.New("unknown protocol: ", protocol)
|
return nil, errors.New("unknown protocol: ", protocol)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue