mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-21 07:07:08 +00:00
protobuf for network list
This commit is contained in:
5 files changed
+34
-17
No files matched your search
@@ -13,6 +13,6 @@ func (this *NetworkList) UnmarshalJSON(data []byte) error {
|
||||
if err := json.Unmarshal(data, &strlist); err != nil {
|
||||
return err
|
||||
}
|
||||
*this = NewNetworkList(strlist)
|
||||
*this = *NewNetworkList(strlist)
|
||||
return nil
|
||||
}
|
||||
Reference in new issue
Block a user