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
path: root/xray
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-09-16 12:41:21 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-09-16 12:41:21 +0300
commit566cd9e9c4b7f10f19b7eb647c6c7cad4647ac44 (patch)
tree88dfe6ef573c216f79b14d4205407f4d2ec96b21 /xray
parentad78cec7c79c51f16940f54baeb35cbefd18d939 (diff)
New - Allocate
Diffstat (limited to 'xray')
-rw-r--r--xray/inbound.go4
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
}