Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
orestonce committed Apr 1, 2023
1 parent 899ed96 commit 1ebdfdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func ConvertDbToTxt(req ConvertDbToTxt_Req) (errMsg string) {
errMsg = VerifyIpRangeList(VerifyIpRangeListRequest{
DataInfoList: list,
VerifyFullUint32: true,
VerifyFiled7: true,
VerifyFiled7: req.DbVersion == 1, // 只有版本1才需要验证字段数为7
})
if errMsg != `` {
return "验证文件数据失败: " + errMsg
Expand Down

0 comments on commit 1ebdfdc

Please sign in to comment.