[Asterisk-cvs] asterisk/channels chan_iax2.c,1.86,1.87

markster at lists.digium.com markster at lists.digium.com
Sun Jan 11 10:39:18 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv13756/channels

Modified Files:
	chan_iax2.c 
Log Message:
Show who sends us bad packets


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- chan_iax2.c	11 Jan 2004 16:15:30 -0000	1.86
+++ chan_iax2.c	11 Jan 2004 16:31:04 -0000	1.87
@@ -4228,7 +4228,7 @@
 		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;
 				}




More information about the svn-commits mailing list