From b5f8be76367be38c8d0c11d0537e396658755beb Mon Sep 17 00:00:00 2001 From: Redmomn <109732988+Redmomn@users.noreply.github.com> Date: Fri, 27 Feb 2026 19:52:37 +0800 Subject: [PATCH] fix: rename i_pv4s and i_pv6s to ipv4s and ipv6s for consistency --- proto/service/highway/v1/highway.proto | 2 +- .../service/highway/v1/ntv_2_rich_media_resp.proto | 12 ++++++------ proto/service/highway/v2/highway.proto | 14 +++++++------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/proto/service/highway/v1/highway.proto b/proto/service/highway/v1/highway.proto index c00afe1..e67c6a7 100644 --- a/proto/service/highway/v1/highway.proto +++ b/proto/service/highway/v1/highway.proto @@ -96,7 +96,7 @@ message NTHighwayHash { } message NTHighwayNetwork { - repeated NTHighwayIPv4 i_pv4s = 1; + repeated NTHighwayIPv4 ipv4s = 1; } message NTHighwayIPv4 { diff --git a/proto/service/highway/v1/ntv_2_rich_media_resp.proto b/proto/service/highway/v1/ntv_2_rich_media_resp.proto index 43ca586..3b290a6 100644 --- a/proto/service/highway/v1/ntv_2_rich_media_resp.proto +++ b/proto/service/highway/v1/ntv_2_rich_media_resp.proto @@ -34,8 +34,8 @@ message DownloadInfo { string domain = 1; string url_path = 2; uint32 https_port = 3; - repeated IPv4 i_pv4s = 4; - repeated IPv6 i_pv6s = 5; + repeated IPv4 ipv4s = 4; + repeated IPv6 ipv6s = 5; PicUrlExtInfo pic_url_ext_info = 6; VideoExtInfo video_ext_info = 7; } @@ -59,8 +59,8 @@ message IPv6 { message UploadResp { optional string u_key = 1; uint32 u_key_ttl_second = 2; - repeated IPv4 i_pv4s = 3; - repeated IPv6 i_pv6s = 4; + repeated IPv4 ipv4s = 3; + repeated IPv6 ipv6s = 4; uint64 msg_seq = 5; MsgInfo msg_info = 6; repeated RichMediaStorageTransInfo ext = 7; @@ -78,8 +78,8 @@ message SubFileInfo { uint32 sub_type = 1; string u_key = 2; uint32 u_key_ttl_second = 3; - repeated IPv4 i_pv4s = 4; - repeated IPv6 i_pv6s = 5; + repeated IPv4 ipv4s = 4; + repeated IPv6 ipv6s = 5; } message DownloadSafeResp {} diff --git a/proto/service/highway/v2/highway.proto b/proto/service/highway/v2/highway.proto index ed10d29..8b65988 100644 --- a/proto/service/highway/v2/highway.proto +++ b/proto/service/highway/v2/highway.proto @@ -68,7 +68,7 @@ message NTHighwayHash { } message NTHighwayNetwork { - repeated NTHighwayIPv4 i_pv4s = 1; + repeated NTHighwayIPv4 ipv4s = 1; } message NTHighwayIPv4 { @@ -336,8 +336,8 @@ message DownloadInfo { optional string domain = 1; optional string url_path = 2; optional uint32 https_port = 3; - repeated IPv4 i_pv4s = 4; - repeated IPv6 i_pv6s = 5; + repeated IPv4 ipv4s = 4; + repeated IPv6 ipv6s = 5; optional PicUrlExtInfo pic_url_ext_info = 6; optional VideoExtInfo video_ext_info = 7; } @@ -361,8 +361,8 @@ message IPv6 { message UploadResp { optional string u_key = 1; optional uint32 u_key_ttl_second = 2; - repeated IPv4 i_pv4s = 3; - repeated IPv6 i_pv6s = 4; + repeated IPv4 ipv4s = 3; + repeated IPv6 ipv6s = 4; optional uint64 msg_seq = 5; optional MsgInfo msg_info = 6; repeated RichMediaStorageTransInfo ext = 7; @@ -380,8 +380,8 @@ message SubFileInfo { optional uint32 sub_type = 1; optional string u_key = 2; optional uint32 u_key_ttl_second = 3; - repeated IPv4 i_pv4s = 4; - repeated IPv6 i_pv6s = 5; + repeated IPv4 ipv4s = 4; + repeated IPv6 ipv6s = 5; } message DownloadSafeResp {}