From 38b2d56fb95bc783183a9d58fba4219bb3af1f96 Mon Sep 17 00:00:00 2001 From: Dimitry Kolyshev Date: Mon, 14 Aug 2023 16:23:56 +0300 Subject: [PATCH] home: check port install --- internal/home/controlinstall.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/internal/home/controlinstall.go b/internal/home/controlinstall.go index a5be3354..9ed23575 100644 --- a/internal/home/controlinstall.go +++ b/internal/home/controlinstall.go @@ -402,13 +402,6 @@ func (web *webAPI) handleInstallConfigure(w http.ResponseWriter, r *http.Request return } - err = aghnet.CheckPort("tcp", netip.AddrPortFrom(req.DNS.IP, uint16(req.DNS.Port))) - if err != nil { - aghhttp.Error(r, w, http.StatusBadRequest, "%s", err) - - return - } - curConfig := &configuration{} copyInstallSettings(curConfig, config)