Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

IP 结果有错, 国内地址对齐也不对 #3

Open
IGGAbc opened this issue Oct 16, 2019 · 2 comments
Open

IP 结果有错, 国内地址对齐也不对 #3

IGGAbc opened this issue Oct 16, 2019 · 2 comments

Comments

@IGGAbc
Copy link

IGGAbc commented Oct 16, 2019

国内数据格式化到省、市、县 是错误的
你可以用你自己的测试IP试试

Detail{IP:QQWry.IP{0x1, 0x18, 0x29, 0x0}, Start:QQWry.IP{0x1, 0x18, 0x29, 0x0}, End:QQWry.IP{0x1, 0x18, 0x29, 0xff}, Location:QQWry.Location{Country:"内蒙古锡林郭勒盟苏尼特右旗", Region:"联通", Province:"", City:"", County:"", raw:"内蒙古锡林郭勒盟苏尼特右旗 联通"}}

@kayon
Copy link
Owner

kayon commented Oct 18, 2019

我测试有无索引结果都是一致的
&iploc.Detail{IP:iploc.IP{0x1, 0x18, 0x29, 0x0}, Start:iploc.IP{0x1, 0x18, 0x29, 0x0}, End:iploc.IP{0x1, 0x18, 0x29, 0xff}, Location:iploc.Location{Country:"中国", Region:"联通", Province:"内蒙古", City:"锡林郭勒盟", County:"苏尼特右旗", raw:"内蒙古锡林郭勒盟苏尼特右旗 联通"}}

@0102redirects
Copy link

我试了几个ip,城市有误

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants