diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-31 15:30:33 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-31 15:30:33 +0100 |
commit | f5b49128645669ad0bb2a73a47d76003ab4d5dc8 (patch) | |
tree | d8335acc0d36874ded72f655335a1b14e7779aab /package/asterisk/patches/patch-channels_chan_iax2_c | |
parent | 8b96e301c638ee8a434cbdb2599d8ec4ed124eb5 (diff) |
update asterisk to latest upstream
unfortunately asterisk 1.4.x just segfaults on startup
on mips board. 1.6.x works out of the box, so update
to latest version.
Diffstat (limited to 'package/asterisk/patches/patch-channels_chan_iax2_c')
-rw-r--r-- | package/asterisk/patches/patch-channels_chan_iax2_c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/package/asterisk/patches/patch-channels_chan_iax2_c b/package/asterisk/patches/patch-channels_chan_iax2_c deleted file mode 100644 index f39c2bf5b..000000000 --- a/package/asterisk/patches/patch-channels_chan_iax2_c +++ /dev/null @@ -1,20 +0,0 @@ ---- asterisk-1.4.27.1.orig/channels/chan_iax2.c 2009-11-10 18:15:57.000000000 +0100 -+++ asterisk-1.4.27.1/channels/chan_iax2.c 2009-12-03 20:57:05.000000000 +0100 -@@ -7076,7 +7076,7 @@ static int try_transfer(struct chan_iax2 - - memset(&ied, 0, sizeof(ied)); - if (ies->apparent_addr) -- bcopy(ies->apparent_addr, &new, sizeof(new)); -+ memcpy(&new, ies->apparent_addr, sizeof(new)); - if (ies->callno) - newcall = ies->callno; - if (!newcall || !new.sin_addr.s_addr || !new.sin_port) { -@@ -7235,7 +7235,7 @@ static int iax2_ack_registry(struct iax_ - - memset(&us, 0, sizeof(us)); - if (ies->apparent_addr) -- bcopy(ies->apparent_addr, &us, sizeof(us)); -+ memcpy(&us, ies->apparent_addr, sizeof(us)); - if (ies->username) - ast_copy_string(peer, ies->username, sizeof(peer)); - if (ies->refresh) |