fea: ipsec tunnel cli.

This commit is contained in:
Daniel Ding
2024-06-17 14:32:32 +08:00
parent 7c27b06b4e
commit 8799004044
20 changed files with 489 additions and 372 deletions

View File

@@ -78,7 +78,7 @@ func (h Output) Delete(w http.ResponseWriter, r *http.Request) {
http.Error(w, "network not found", http.StatusBadRequest)
return
}
worker.DelOutput(output.Device)
worker.DelOutput(*output)
ResponseMsg(w, 0, "")
}