show the normalized ipv4 region

This commit is contained in:
lion 2025-09-06 10:35:57 +08:00
parent 538ea4194c
commit a8a17b0f98
2 changed files with 4 additions and 4 deletions

View File

@ -128,7 +128,7 @@ ip2region xdb searcher test program
source xdb: ../../data/ip2region_v4.xdb (IPv4, vectorIndex)
type 'quit' to exit
ip2region>> 219.133.111.87
{region: 中国|0|广东省|深圳市|电信, ioCount: 2, took: 19.005µs}
{region: 中国|广东省|深圳市|电信, ioCount: 2, took: 19.005µs}
ip2region>>
```

View File

@ -56,7 +56,7 @@ commands:
clearIndex: clear the vector index.
quit : exit the test program
ip2region>> 58.251.30.115
{region:中国|0|广东省|深圳市|联通, iocount:3, took:37.043µs}
{region:中国|广东省|深圳市|联通, iocount:3, took:37.043µs}
ip2region>>
# ipv6
@ -99,8 +99,8 @@ editor>>
通过 `put` 命令修改指定 IP 段的定位信息,例如:
```bash
editor>> put 36.132.128.0|36.132.147.255|中国|0|黑龙江省|哈尔滨市|移动
Put(36.132.128.0|36.132.147.255|中国|0|黑龙江省|哈尔滨市|移动): Ok, with 1 deletes and 2 additions
editor>> put 36.132.128.0|36.132.147.255|中国|黑龙江省|哈尔滨市|移动
Put(36.132.128.0|36.132.147.255|中国|黑龙江省|哈尔滨市|移动): Ok, with 1 deletes and 2 additions
*editor>>
```