From c31882cb928b51911a1e5c6aa5021f18b5b0b7ec Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Wed, 21 Feb 2024 22:20:51 +0330 Subject: bug fix #1595 --- web/service/inbound.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/service') 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) } -- cgit v1.2.3