From 235e4422fb718d105148073e40fc038b5be9bbfa Mon Sep 17 00:00:00 2001 From: Max Khon Date: Tue, 12 Jul 2005 10:11:17 +0000 Subject: Update to 1.0.9 and bristuff-0.2.0-RC8h. Approved by: MAINTAINER --- net/asterisk/files/patch-rtp.c | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'net/asterisk/files/patch-rtp.c') diff --git a/net/asterisk/files/patch-rtp.c b/net/asterisk/files/patch-rtp.c index 36c4bea2f7ea..c652add6a2f2 100644 --- a/net/asterisk/files/patch-rtp.c +++ b/net/asterisk/files/patch-rtp.c @@ -9,28 +9,6 @@ break; case TYPE_SILENCE: return 4; -@@ -351,9 +351,7 @@ - 0, (struct sockaddr *)&sin, &len); - - if (res < 0) { -- if (errno == EAGAIN) -- ast_log(LOG_NOTICE, "RTP: Received packet with bad UDP checksum\n"); -- else -+ if (errno != EAGAIN) - ast_log(LOG_WARNING, "RTP Read error: %s\n", strerror(errno)); - if (errno == EBADF) - CRASH; -@@ -431,9 +429,7 @@ - - rtpheader = (unsigned int *)(rtp->rawdata + AST_FRIENDLY_OFFSET); - if (res < 0) { -- if (errno == EAGAIN) -- ast_log(LOG_NOTICE, "RTP: Received packet with bad UDP checksum\n"); -- else -+ if (errno != EAGAIN) - ast_log(LOG_WARNING, "RTP Read error: %s\n", strerror(errno)); - if (errno == EBADF) - CRASH; @@ -862,8 +858,10 @@ /* Must be an even port number by RTP spec */ rtp->us.sin_port = htons(x); -- cgit v1.2.3