mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-08-22 09:36:49 +08:00
VLESS practice: Use user-sent VLESS UUID's last byte as vlessRoute
for routing
rules
https://github.com/XTLS/Xray-core/pull/5009#issuecomment-3194262087
This commit is contained in:
@@ -36,6 +36,10 @@ func (c routingContext) GetLocalPort() net.Port {
|
||||
return net.Port(c.RoutingContext.GetLocalPort())
|
||||
}
|
||||
|
||||
func (c routingContext) GetVlessRoute() net.Port {
|
||||
return net.Port(c.RoutingContext.GetVlessRoute())
|
||||
}
|
||||
|
||||
func (c routingContext) GetRuleTag() string {
|
||||
return ""
|
||||
}
|
||||
|
Reference in New Issue
Block a user