- Added reporting when receiving an unknown packet in login-sql before ending connection.
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6276 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
@@ -1885,9 +1885,12 @@ int parse_login(int fd) {
|
||||
break;
|
||||
|
||||
case 0x7532:
|
||||
default:
|
||||
ShowStatus ("End of connection (ip: %s)" RETCODE, ip);
|
||||
session[fd]->eof = 1;
|
||||
break;
|
||||
default:
|
||||
ShowStatus ("Abnormal end of connection (ip: %s): Unknown packet 0x%x " RETCODE, ip, RFIFOW(fd,0));
|
||||
session[fd]->eof = 1;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user