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 /xray | |
| parent | ad78cec7c79c51f16940f54baeb35cbefd18d939 (diff) | |
New - Allocate
Diffstat (limited to 'xray')
| -rw-r--r-- | xray/inbound.go | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |
