Show who sends us bad packets

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1945 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-01-11 16:31:04 +00:00
parent 389d089ecc
commit ed72e0e169

View File

@@ -4228,7 +4228,7 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
if (f.datalen) {
if (f.frametype == AST_FRAME_IAX) {
if (iax_parse_ies(&ies, buf + sizeof(struct ast_iax2_full_hdr), f.datalen)) {
ast_log(LOG_WARNING, "undecodable frame received\n");
ast_log(LOG_WARNING, "Undecodable frame received from '%s'\n", inet_ntoa(sin.sin_addr));
ast_mutex_unlock(&iaxsl[fr.callno]);
return 1;
}