1
0
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:
Darien Raymond
2017-04-02 14:24:10 +02:00
parent 9d6513d3d3
commit 2111c7e9ca
8 changed files with 93 additions and 120 deletions

View File

@@ -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{} }