简化IP名单中创建IP操作/支持IP以CIDR方式显示

This commit is contained in:
GoEdgeLab
2024-04-13 16:45:56 +08:00
parent 58e508c8e3
commit 7e4a5ecff7
11 changed files with 544 additions and 411 deletions

View File

@@ -11,6 +11,7 @@ import "models/model_node.proto";
message IPItem {
int64 id = 1;
string value = 22; // 原始值比如单个IP、IP范围或者CIDR
string ipFrom = 2;
string ipTo = 3;
int64 version = 4;