mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-03 07:45:29 -05:00
add tag for inbound detour connection
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user