Browse Source

adding comment

afeiszli 3 years ago
parent
commit
a29fc1e29b
1 changed files with 1 additions and 0 deletions
  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 {