Add shadowsocks tests

This commit is contained in:
世界 2022-07-09 00:01:23 +08:00
parent f448b6b977
commit 7f8c9ffa30
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
10 changed files with 1063 additions and 2 deletions

View file

@ -54,7 +54,7 @@ func (a *myInboundAdapter) Tag() string {
}
func (a *myInboundAdapter) Start() error {
bindAddr := M.SocksaddrFromAddrPort(netip.Addr(a.listenOptions.Listen), a.listenOptions.Port)
bindAddr := M.SocksaddrFromAddrPort(netip.Addr(a.listenOptions.Listen), a.listenOptions.ListenPort)
if common.Contains(a.network, C.NetworkTCP) {
var tcpListener *net.TCPListener
var err error