瀏覽代碼

adding comment

afeiszli 3 年之前
父節點
當前提交
a29fc1e29b
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      netclient/wireguard/noquick.go

+ 1 - 0
netclient/wireguard/noquick.go

@@ -95,6 +95,7 @@ func ApplyWithoutWGQuick(node *models.Node, ifacename string, confPath string) e
 	return nil
 }
 
+// RemoveWithoutWGQuick - Function for running the equivalent of "wg-quick down" for linux if wg-quick is missing
 func RemoveWithoutWGQuick(ifacename string) error {
 	ipExec, err := exec.LookPath("ip")
 	if err != nil {