fix: restart openvpn without vrf master.

This commit is contained in:
Daniel Ding
2024-09-29 14:12:53 +08:00
parent 58f4d6f773
commit 11b4e86325
3 changed files with 39 additions and 32 deletions

View File

@@ -116,7 +116,7 @@ func (h Network) RestartVPN(w http.ResponseWriter, r *http.Request) {
return
}
worker.RestartVpn()
worker.RestartVPN()
ResponseJson(w, true)
}