From: Russell Bryant Date: Sat, 9 Oct 2004 00:44:30 +0000 (+0000) Subject: Discontiguous descending Zap channel group fails to use all members (bug #2581) X-Git-Tag: 1.0.11.1~443 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6db145dd07f3daa1e1de3c1ec8c8367e7a05b222;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index cbb93f1d66..c4085f9db8 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -6535,6 +6535,7 @@ static struct zt_pvt *mkintf(int channel, int signalling, int radio, struct zt_p if (working->channel > tmp->channel) { tmp->next = *wlist; tmp->prev = NULL; + (*wlist)->prev = tmp; *wlist = tmp; } else { /* go through all the members and put the member in the right place */