This commit is contained in:
sushen339
2025-11-18 18:53:39 +08:00
parent a00c2936e0
commit c248c218a4
3 changed files with 6 additions and 1 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
+6 -1
View File
@@ -100,7 +100,7 @@ void show_subnet_aggregation(void) {
FILE *fp = fopen(PERSIST_FILE, "r");
if (!fp) {
printf("(无数据)\n\n");
printf("(暂无IP信息)\n\n");
return;
}
@@ -326,6 +326,11 @@ void show_subnet_aggregation(void) {
printf(" - (IPv6 地址) (%d 个)\n", v6_count);
}
/* 如果没有任何输出(无聚合、无散乱、无v6) */
if (!has_output && scattered_count == 0 && v6_count == 0) {
printf("(暂无IP信息)\n");
}
printf("\n");
}