diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-09-16 12:41:21 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-09-16 12:41:21 +0300 |
| commit | 566cd9e9c4b7f10f19b7eb647c6c7cad4647ac44 (patch) | |
| tree | 88dfe6ef573c216f79b14d4205407f4d2ec96b21 /web/service | |
| parent | ad78cec7c79c51f16940f54baeb35cbefd18d939 (diff) | |
New - Allocate
Diffstat (limited to 'web/service')
| -rw-r--r-- | web/service/inbound.go | 1 |
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 { |
