parser/link: support gecko obfs in hysteria2 links

This commit is contained in:
Shtorm
2026-09-04 01:41:33 +03:00
parent 3540c09b93
commit 04922b1898
+2 -2
View File
@@ -39,8 +39,8 @@ func parseHysteria2Link(link string) (option.Outbound, error) {
case "down":
options.DownMbps, _ = strconv.Atoi(value)
case "obfs":
if value == "salamander" {
Obfs.Type = "salamander"
if value == "salamander" || value == "gecko" {
Obfs.Type = value
options.Obfs = Obfs
}
case "obfs-password":