mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-20 23:06:08 +00:00
code ready for selective routing
This commit is contained in:
1 parent
f4ec19625e
commit
12e72509a5
8 files changed
+106
-24
No files matched your search
@@ -10,9 +10,8 @@ type Rule struct {
|
||||
OutboundTag string `json:"outboundTag"`
|
||||
}
|
||||
|
||||
func (this *Rule) Tag() *config.DetourTag {
|
||||
detourTag := config.DetourTag(this.OutboundTag)
|
||||
return &detourTag
|
||||
func (this *Rule) Tag() config.DetourTag {
|
||||
return config.DetourTag(this.OutboundTag)
|
||||
}
|
||||
|
||||
func (this *Rule) Apply(dest v2net.Destination) bool {
|
||||
|
||||
Reference in new issue
Block a user