summaryrefslogtreecommitdiffstats
path: root/include/pttstruct.h
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-09-03 15:16:41 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-09-03 15:16:41 +0800
commite28f24a0c49768114d42cefa33ff79235b937d48 (patch)
tree64debb3969bccc0e35a0486651eed5dc141903a9 /include/pttstruct.h
parent478ea9614468014b20f9c5d500f7b802c10f9f78 (diff)
downloadpttbbs-e28f24a0c49768114d42cefa33ff79235b937d48.tar
pttbbs-e28f24a0c49768114d42cefa33ff79235b937d48.tar.gz
pttbbs-e28f24a0c49768114d42cefa33ff79235b937d48.tar.bz2
pttbbs-e28f24a0c49768114d42cefa33ff79235b937d48.tar.lz
pttbbs-e28f24a0c49768114d42cefa33ff79235b937d48.tar.xz
pttbbs-e28f24a0c49768114d42cefa33ff79235b937d48.tar.zst
pttbbs-e28f24a0c49768114d42cefa33ff79235b937d48.zip
domain_name_query is changed to cidr format
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2176 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r--include/pttstruct.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 9d1b1935..8f00de01 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -444,9 +444,11 @@ typedef struct {
} GV2;
/* fromcache */
- char domain[MAX_FROM][50];
- char replace[MAX_FROM][50];
- int top;
+ unsigned int home_ip[MAX_FROM];
+ unsigned int home_mask[MAX_FROM];
+ char home_desc[MAX_FROM][32];
+ int home_num;
+
int max_user;
time_t max_time;
time_t Fuptime;