mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 12:16:00 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user