Fill vless response addon

This commit is contained in:
yuhan6665 2024-04-21 16:00:33 -04:00
parent 38ef5eac28
commit 5eba379a53

View File

@ -456,7 +456,7 @@ func (h *Handler) Process(ctx context.Context, network net.Network, connection s
account := request.User.Account.(*vless.MemoryAccount) account := request.User.Account.(*vless.MemoryAccount)
responseAddons := &proxy.Addons{ responseAddons := &proxy.Addons{
// Flow: requestAddons.Flow, Flow: account.Flow,
} }
encoding.PopulateSeed(account.Seed, responseAddons) encoding.PopulateSeed(account.Seed, responseAddons)
if check := encoding.CheckSeed(requestAddons, responseAddons); check != nil { if check := encoding.CheckSeed(requestAddons, responseAddons); check != nil {