add tag for inbound detour connection

This commit is contained in:
v2ray committed 2015-12-08 00:54:45 +01:00
1 parent 641e5db851
commit 3a1c134f84
3 files changed
+11

No files matched your search

+5
View File
@@ -55,6 +55,11 @@ func (this *PortRange) To() v2net.Port {
type InboundDetourConfig struct {
*ConnectionConfig
PortRangeValue *PortRange
TagValue string
}
func (this *InboundDetourConfig) Tag() string {
return this.TagValue
}
func (this *InboundDetourConfig) PortRange() v2net.PortRange {