Show who sends us bad packets
authorMark Spencer <markster@digium.com>
Sun, 11 Jan 2004 16:31:04 +0000 (16:31 +0000)
committerMark Spencer <markster@digium.com>
Sun, 11 Jan 2004 16:31:04 +0000 (16:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1945 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 6217258..3858cc5 100755 (executable)
@@ -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;
                                }