Skip to content

Commit

Permalink
Restore Android
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed Jan 15, 2025
1 parent ec094ac commit f5e22fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions client/go/outline/tun2socks/tunnel_android.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"github.com/Jigsaw-Code/outline-apps/client/go/outline"
"github.com/Jigsaw-Code/outline-apps/client/go/outline/platerrors"
"github.com/Jigsaw-Code/outline-apps/client/go/tunnel"
"github.com/Jigsaw-Code/outline-sdk/transport"
"github.com/eycorsican/go-tun2socks/common/log"
)

Expand Down Expand Up @@ -52,7 +51,7 @@ func ConnectOutlineTunnel(fd int, client *outline.Client, isUDPEnabled bool) *Co
}}
}

t, err := newTunnel(transport.FuncStreamDialer(client.Dial), client, isUDPEnabled, tun)
t, err := newTunnel(client, client, isUDPEnabled, tun)
if err != nil {
return &ConnectOutlineTunnelResult{Error: &platerrors.PlatformError{
Code: platerrors.SetupTrafficHandlerFailed,
Expand Down

0 comments on commit f5e22fc

Please sign in to comment.