From ecb01a417aad75bfa6c005d4d44ee5cc43dc33eb Mon Sep 17 00:00:00 2001 From: Mohammed Date: Mon, 25 Mar 2024 22:38:27 +0000 Subject: [PATCH] fix skywire cli vpn command issue --- pkg/visor/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/visor/api.go b/pkg/visor/api.go index 5bd7aa1bc..8e63206da 100644 --- a/pkg/visor/api.go +++ b/pkg/visor/api.go @@ -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 {