Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-09-16 12:41:21 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-09-16 12:41:21 +0300
commit566cd9e9c4b7f10f19b7eb647c6c7cad4647ac44 (patch)
tree88dfe6ef573c216f79b14d4205407f4d2ec96b21 /web/service
parentad78cec7c79c51f16940f54baeb35cbefd18d939 (diff)
New - Allocate
Diffstat (limited to 'web/service')
-rw-r--r--web/service/inbound.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/service/inbound.go b/web/service/inbound.go
index 0ed76880..5213fce6 100644
--- a/web/service/inbound.go
+++ b/web/service/inbound.go
@@ -331,6 +331,7 @@ func (s *InboundService) UpdateInbound(inbound *model.Inbound) (*model.Inbound,
oldInbound.Settings = inbound.Settings
oldInbound.StreamSettings = inbound.StreamSettings
oldInbound.Sniffing = inbound.Sniffing
+ oldInbound.Allocate = inbound.Allocate
if inbound.Listen == "" || inbound.Listen == "0.0.0.0" || inbound.Listen == "::" || inbound.Listen == "::0" {
oldInbound.Tag = fmt.Sprintf("inbound-%v", inbound.Port)
} else {