1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-28 13:05:28 -05:00

accommodate protobuf compiler change

This commit is contained in:
Darien Raymond
2016-12-23 12:42:25 +01:00
parent d9196b4217
commit a4dfca0ef7
33 changed files with 679 additions and 80 deletions

View File

@@ -57,6 +57,13 @@ func (m *NetworkList) String() string { return proto.CompactTextStrin
func (*NetworkList) ProtoMessage() {}
func (*NetworkList) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
func (m *NetworkList) GetNetwork() []Network {
if m != nil {
return m.Network
}
return nil
}
func init() {
proto.RegisterType((*NetworkList)(nil), "v2ray.core.common.net.NetworkList")
proto.RegisterEnum("v2ray.core.common.net.Network", Network_name, Network_value)