From 566cd9e9c4b7f10f19b7eb647c6c7cad4647ac44 Mon Sep 17 00:00:00 2001 From: mhsanaei Date: Mon, 16 Sep 2024 11:41:21 +0200 Subject: New - Allocate --- xray/inbound.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xray') diff --git a/xray/inbound.go b/xray/inbound.go index ea11449d..c74b07ba 100644 --- a/xray/inbound.go +++ b/xray/inbound.go @@ -14,6 +14,7 @@ type InboundConfig struct { StreamSettings json_util.RawMessage `json:"streamSettings"` Tag string `json:"tag"` Sniffing json_util.RawMessage `json:"sniffing"` + Allocate json_util.RawMessage `json:"allocate"` } func (c *InboundConfig) Equals(other *InboundConfig) bool { @@ -38,5 +39,8 @@ func (c *InboundConfig) Equals(other *InboundConfig) bool { if !bytes.Equal(c.Sniffing, other.Sniffing) { return false } + if !bytes.Equal(c.Allocate, other.Allocate) { + return false + } return true } -- cgit v1.2.3