mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-20 06:58:38 +03:00
Add uid and app status in routing rule
This commit is contained in:
@ -28,6 +28,14 @@ func (c routingContext) GetTargetPort() net.Port {
|
||||
return net.Port(c.RoutingContext.GetTargetPort())
|
||||
}
|
||||
|
||||
func (c routingContext) GetUid() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (c routingContext) GetAppStatus() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
// GetSkipDNSResolve is a mock implementation here to match the interface,
|
||||
// SkipDNSResolve is set from dns module, no use if coming from a protobuf object?
|
||||
// TODO: please confirm @Vigilans
|
||||
|
Reference in New Issue
Block a user