Skip to content

Commit

Permalink
Merge pull request #1791 from mrpalide/fix/vpn-start-command
Browse files Browse the repository at this point in the history
fix skywire cli vpn command
  • Loading branch information
mrpalide authored Mar 25, 2024
2 parents 8e782b1 + ecb01a4 commit 17f630c
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 17f630c

Please sign in to comment.