diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-12 13:51:38 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-12 13:51:38 +0000 |
commit | a56e294fa87d663ca67bdb1002d2b75c10e64c78 (patch) | |
tree | 648dbf75eb4017aef75cf73aee3cbc3a207b6970 /src/common/socket.h | |
parent | 9b1082f4075d45f6d484d856d49013b6eb1e515a (diff) | |
download | hercules-a56e294fa87d663ca67bdb1002d2b75c10e64c78.tar.gz hercules-a56e294fa87d663ca67bdb1002d2b75c10e64c78.tar.bz2 hercules-a56e294fa87d663ca67bdb1002d2b75c10e64c78.tar.xz hercules-a56e294fa87d663ca67bdb1002d2b75c10e64c78.zip |
- Cleaned up the ip rules/DDoS section of the code. (the allow,deny and deny,allow cases were switched)
- Updated the information about ip rules and DDoS protection in packet_athena.conf and commented out the line "allow: all" so connections are rejected when a DDoS is detected.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9647 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/common/socket.h')
-rw-r--r-- | src/common/socket.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/socket.h b/src/common/socket.h index 5d6fcff89..43e433ab0 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -143,8 +143,8 @@ extern int fd_max; ////////////////////////////////// // some checking on sockets -extern bool session_isValid(int fd); -extern bool session_isActive(int fd); +extern int session_isValid(int fd); +extern int session_isActive(int fd); ////////////////////////////////// // Function prototype declaration |