Skip to content

Commit

Permalink
fix(swiftui): fix building error
Browse files Browse the repository at this point in the history
  • Loading branch information
genshen committed Jun 14, 2024
1 parent 5714fe9 commit 5a51d77
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions extra/go-api/wssocks_client_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ func StartClientWrapper(handlesPtr uintptr, localAddr, remoteAddr, httpLocalAddr
ForceLogout: bool(vpnForceLogout),
HostEncrypt: bool(vpnHostEncrypt),
TargetVpn: C.GoString(vpnHostInput),
Username: C.GoString(vpnUsername),
Password: C.GoString(vpnPassword),
AuthMethod: 0,
PasswdAuth: vpn.UstbVpnPasswdAuth{
Username: C.GoString(vpnUsername),
Password: C.GoString(vpnPassword),
},
},
RemoteAddr: C.GoString(remoteAddr),
}
Expand Down

0 comments on commit 5a51d77

Please sign in to comment.