summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/login_sql/login.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index f8fbdf692..58fb6c92d 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -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;
}
}