Skip to content

Commit

Permalink
fix skywire cli vpn command issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Mar 25, 2024
1 parent 43b4c15 commit ecb01a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/visor/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ func (v *Visor) StartVPNClient(pk cipher.PubKey) error {
// we set the args in memory and pass it in `v.appL.StartApp`
// unlike the api method `StartApp` where `nil` is passed in `v.appL.StartApp` as args
// but the args are set in the config
v.conf.Launcher.Apps[index].Args = []string{"--srv", pk.Hex()}
v.conf.Launcher.Apps[index].Args = []string{"app", "vpn-client", "--srv", pk.Hex()}
maker := vpnEnvMaker(v.conf, v.dmsgC, v.dmsgDC, v.tpM.STCPRRemoteAddrs())
envs, err = maker()
if err != nil {
Expand Down

0 comments on commit ecb01a4

Please sign in to comment.