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-02-21 21:50:51 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-02-21 21:50:51 +0300
commitc31882cb928b51911a1e5c6aa5021f18b5b0b7ec (patch)
treec59501f0a25b7ac461a90dab4eb24fd1fd991c62 /web/service
parent81d47f75127d1b72e1ff67593826fb1b459b8682 (diff)
bug fix #1595
Diffstat (limited to 'web/service')
-rw-r--r--web/service/inbound.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/service/inbound.go b/web/service/inbound.go
index 291c0dee..6a3dac5d 100644
--- a/web/service/inbound.go
+++ b/web/service/inbound.go
@@ -312,7 +312,7 @@ func (s *InboundService) UpdateInbound(inbound *model.Inbound) (*model.Inbound,
oldInbound.StreamSettings = inbound.StreamSettings
oldInbound.Sniffing = inbound.Sniffing
if inbound.Listen == "" || inbound.Listen == "0.0.0.0" || inbound.Listen == "::" || inbound.Listen == "::0" {
- oldInbound.Tag = fmt.Sprintf("inbound-0.0.0.0:%v", inbound.Port)
+ oldInbound.Tag = fmt.Sprintf("inbound-%v", inbound.Port)
} else {
oldInbound.Tag = fmt.Sprintf("inbound-%v:%v", inbound.Listen, inbound.Port)
}