ignore parse ss

This commit is contained in:
zu1k
2020-08-14 10:32:55 +08:00
parent 23bdc67444
commit 272a1c1277

View File

@@ -119,6 +119,9 @@ func ParseSSLink(link string) (*Shadowsocks, error) {
}
}
}
if port == 0 || cipher == "" {
return nil, ErrorNotSSLink
}
return &Shadowsocks{
Base: Base{