aboutsummaryrefslogtreecommitdiff
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.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/net/asterisk-devel/files/patch-rtp.c b/net/asterisk-devel/files/patch-rtp.c
deleted file mode 100644
index c652add6a2f2..000000000000
--- a/net/asterisk-devel/files/patch-rtp.c
+++ /dev/null
@@ -1,23 +0,0 @@
---- rtp.c.orig Tue Apr 26 10:00:28 2005
-+++ rtp.c Tue Apr 26 10:06:35 2005
-@@ -127,7 +127,7 @@
- {
- switch(buf & TYPE_MASK) {
- case TYPE_DONTSEND:
-- return 0;
-+ return 2;
- break;
- case TYPE_SILENCE:
- return 4;
-@@ -862,8 +858,10 @@
- /* Must be an even port number by RTP spec */
- rtp->us.sin_port = htons(x);
- rtp->us.sin_addr = addr;
-- if (rtp->rtcp)
-+ if (rtp->rtcp) {
- rtp->rtcp->us.sin_port = htons(x + 1);
-+ rtp->rtcp->us.sin_addr = addr;
-+ }
- if (!(first = bind(rtp->s, (struct sockaddr *)&rtp->us, sizeof(rtp->us))) &&
- (!rtp->rtcp || !bind(rtp->rtcp->s, (struct sockaddr *)&rtp->rtcp->us, sizeof(rtp->rtcp->us))))
- break;