mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 19:08:14 +00:00
Discontiguous descending Zap channel group fails to use all members (bug #2581)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@3958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -6535,6 +6535,7 @@ static struct zt_pvt *mkintf(int channel, int signalling, int radio, struct zt_p
|
|||||||
if (working->channel > tmp->channel) {
|
if (working->channel > tmp->channel) {
|
||||||
tmp->next = *wlist;
|
tmp->next = *wlist;
|
||||||
tmp->prev = NULL;
|
tmp->prev = NULL;
|
||||||
|
(*wlist)->prev = tmp;
|
||||||
*wlist = tmp;
|
*wlist = tmp;
|
||||||
} else {
|
} else {
|
||||||
/* go through all the members and put the member in the right place */
|
/* go through all the members and put the member in the right place */
|
||||||
|
|||||||
Reference in New Issue
Block a user