summaryrefslogtreecommitdiff
path: root/net/asterisk12/files/patch-rtp.c
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2005-07-12 10:11:17 +0000
committerMax Khon <fjoe@FreeBSD.org>2005-07-12 10:11:17 +0000
commit235e4422fb718d105148073e40fc038b5be9bbfa (patch)
tree08aa230d0e15f58e4d2c15e2f567428c50a5a5eb /net/asterisk12/files/patch-rtp.c
parentUpdate to 1.0.9 and bristuff-0.2.0-RC8h. (diff)
Update to 1.0.9 and bristuff-0.2.0-RC8h.
Approved by: MAINTAINER
Notes
Notes: svn path=/head/; revision=138968
Diffstat (limited to 'net/asterisk12/files/patch-rtp.c')
-rw-r--r--net/asterisk12/files/patch-rtp.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/net/asterisk12/files/patch-rtp.c b/net/asterisk12/files/patch-rtp.c
index 36c4bea2f7ea..c652add6a2f2 100644
--- a/net/asterisk12/files/patch-rtp.c
+++ b/net/asterisk12/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);