diff options
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 } |
