mirror of
https://github.com/luscis/openlan.git
synced 2025-10-05 16:47:11 +08:00
fea: ipsec tunnel cli.
This commit is contained in:
@@ -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, "")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user