https://netmaker.org logo
Hello, I'm using Client 0.15.0 on Openwrt and it c...
# client
q
Hello, I'm using Client 0.15.0 on Openwrt and it crash when setting that node as Egress, Ingress or Relay. This is what the log says:
Copy code
[netclient] 2022-09-03 06:23:02 [mqhandlers.go-57] NodeUpdate(): network: home received message to update node Pueblo 
[netclient] 2022-09-03 06:23:02 [mqhandlers.go-131] NodeUpdate(): applying WG conf to /etc/netclient/config/nm-home.conf 
panic: runtime error: slice bounds out of range [1:0]

goroutine 50 [running]:
github.com/gravitl/netmaker/netclient/ncutils.RunCmds({0x40004ea4e0?, 0x3, 0x560d62?}, 0x0)
    /home/runner/work/netmaker/netmaker/netclient/ncutils/netclientutils.go:441 +0x1c0
github.com/gravitl/netmaker/netclient/wireguard.ApplyWithoutWGQuick(0x400040fc80, {0x400032a872, 0x7}, {0x4bcee0?, 0x40002bd790?})
    /home/runner/work/netmaker/netmaker/netclient/wireguard/noquick.go:95 +0x488
github.com/gravitl/netmaker/netclient/wireguard.ApplyConf(0x400040fc80, {0x400032a872, 0x7}, {0x4000444750, 0x22})
    /home/runner/work/netmaker/netmaker/netclient/wireguard/common.go:294 +0x13c
github.com/gravitl/netmaker/netclient/functions.NodeUpdate({0x6516f0, 0x40000ccb40}, {0x651338, 0x40003e0730})
    /home/runner/work/netmaker/netmaker/netclient/functions/mqhandlers.go:135 +0xac8
github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch.func2()
    /home/runner/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.4.1/router.go:214 +0x834
created by github.com/eclipse/paho%2emqtt%2egolang.(*router).matchAndDispatch
    /home/runner/go/pkg/mod/github.com/eclipse/paho.mqtt.golang@v1.4.1/router.go:173 +0x24c
j
Can you please open an issue on GitHub for this?
4 Views