[Asterisk-cvs] zaptel zaptel.c,1.95,1.95.2.1
russell at lists.digium.com
russell at lists.digium.com
Wed Oct 6 18:10:19 CDT 2004
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv13102
Modified Files:
Tag: v1-0
zaptel.c
Log Message:
minor zaptel edit (bug #2583)
Index: zaptel.c
===================================================================
RCS file: /usr/cvsroot/zaptel/zaptel.c,v
retrieving revision 1.95
retrieving revision 1.95.2.1
diff -u -d -r1.95 -r1.95.2.1
--- zaptel.c 27 Sep 2004 19:50:03 -0000 1.95
+++ zaptel.c 6 Oct 2004 22:11:41 -0000 1.95.2.1
@@ -2608,7 +2608,7 @@
zt_qevent_lock(&span->chans[x], j);
/* Switch to other master if current master in alarm */
for (x=1; x<maxspans; x++) {
- if (spans[x] && !spans[x]->alarms) {
+ if (spans[x] && !spans[x]->alarms && (spans[x]->flags & ZT_FLAG_RUNNING)) {
if(master != spans[x])
printk("Zaptel: Master changed to %s\n", spans[x]->name);
master = spans[x];
More information about the svn-commits
mailing list