mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-04-06 05:45:28 -04:00
update proto def
This commit is contained in:
@@ -11,8 +11,10 @@ var _ = math.Inf
|
||||
|
||||
// PortRange represents a range of ports.
|
||||
type PortRange struct {
|
||||
// The port that this range starts from.
|
||||
From uint32 `protobuf:"varint,1,opt,name=From" json:"From,omitempty"`
|
||||
To uint32 `protobuf:"varint,2,opt,name=To" json:"To,omitempty"`
|
||||
// The port that this range ends with (inclusive).
|
||||
To uint32 `protobuf:"varint,2,opt,name=To" json:"To,omitempty"`
|
||||
}
|
||||
|
||||
func (m *PortRange) Reset() { *m = PortRange{} }
|
||||
|
||||
Reference in New Issue
Block a user