summaryrefslogtreecommitdiffstats
path: root/net/asterisk-devel/files/patch-rtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk-devel/files/patch-rtp.c')
-rw-r--r--net/asterisk-devel/files/patch-rtp.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/net/asterisk-devel/files/patch-rtp.c b/net/asterisk-devel/files/patch-rtp.c
index 36c4bea..c652add 100644
--- a/net/asterisk-devel/files/patch-rtp.c
+++ b/net/asterisk-devel/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);
OpenPOWER on IntegriCloud