Skip to content

Commit b71c958

Browse files
authored
fix: rename i_pv4s and i_pv6s to ipv4s and ipv6s for consistency (#6)
1 parent 3c7b27c commit b71c958

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

proto/service/highway/v1/highway.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ message NTHighwayHash {
9696
}
9797

9898
message NTHighwayNetwork {
99-
repeated NTHighwayIPv4 i_pv4s = 1;
99+
repeated NTHighwayIPv4 ipv4s = 1;
100100
}
101101

102102
message NTHighwayIPv4 {

proto/service/highway/v1/ntv_2_rich_media_resp.proto

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ message DownloadInfo {
3434
string domain = 1;
3535
string url_path = 2;
3636
uint32 https_port = 3;
37-
repeated IPv4 i_pv4s = 4;
38-
repeated IPv6 i_pv6s = 5;
37+
repeated IPv4 ipv4s = 4;
38+
repeated IPv6 ipv6s = 5;
3939
PicUrlExtInfo pic_url_ext_info = 6;
4040
VideoExtInfo video_ext_info = 7;
4141
}
@@ -59,8 +59,8 @@ message IPv6 {
5959
message UploadResp {
6060
optional string u_key = 1;
6161
uint32 u_key_ttl_second = 2;
62-
repeated IPv4 i_pv4s = 3;
63-
repeated IPv6 i_pv6s = 4;
62+
repeated IPv4 ipv4s = 3;
63+
repeated IPv6 ipv6s = 4;
6464
uint64 msg_seq = 5;
6565
MsgInfo msg_info = 6;
6666
repeated RichMediaStorageTransInfo ext = 7;
@@ -78,8 +78,8 @@ message SubFileInfo {
7878
uint32 sub_type = 1;
7979
string u_key = 2;
8080
uint32 u_key_ttl_second = 3;
81-
repeated IPv4 i_pv4s = 4;
82-
repeated IPv6 i_pv6s = 5;
81+
repeated IPv4 ipv4s = 4;
82+
repeated IPv6 ipv6s = 5;
8383
}
8484

8585
message DownloadSafeResp {}

proto/service/highway/v2/highway.proto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ message NTHighwayHash {
6868
}
6969

7070
message NTHighwayNetwork {
71-
repeated NTHighwayIPv4 i_pv4s = 1;
71+
repeated NTHighwayIPv4 ipv4s = 1;
7272
}
7373

7474
message NTHighwayIPv4 {
@@ -336,8 +336,8 @@ message DownloadInfo {
336336
optional string domain = 1;
337337
optional string url_path = 2;
338338
optional uint32 https_port = 3;
339-
repeated IPv4 i_pv4s = 4;
340-
repeated IPv6 i_pv6s = 5;
339+
repeated IPv4 ipv4s = 4;
340+
repeated IPv6 ipv6s = 5;
341341
optional PicUrlExtInfo pic_url_ext_info = 6;
342342
optional VideoExtInfo video_ext_info = 7;
343343
}
@@ -361,8 +361,8 @@ message IPv6 {
361361
message UploadResp {
362362
optional string u_key = 1;
363363
optional uint32 u_key_ttl_second = 2;
364-
repeated IPv4 i_pv4s = 3;
365-
repeated IPv6 i_pv6s = 4;
364+
repeated IPv4 ipv4s = 3;
365+
repeated IPv6 ipv6s = 4;
366366
optional uint64 msg_seq = 5;
367367
optional MsgInfo msg_info = 6;
368368
repeated RichMediaStorageTransInfo ext = 7;
@@ -380,8 +380,8 @@ message SubFileInfo {
380380
optional uint32 sub_type = 1;
381381
optional string u_key = 2;
382382
optional uint32 u_key_ttl_second = 3;
383-
repeated IPv4 i_pv4s = 4;
384-
repeated IPv6 i_pv6s = 5;
383+
repeated IPv4 ipv4s = 4;
384+
repeated IPv6 ipv6s = 5;
385385
}
386386

387387
message DownloadSafeResp {}

0 commit comments

Comments
 (0)