diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-04-09 18:44:39 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-04-09 18:44:39 +0000 |
commit | 95468285f35850b23c2f6586c7087ed20ac34fea (patch) | |
tree | 74bfd4525c51c279355bfebca3db47b1fc698be3 | |
parent | f5fd851fc7a8ab89a32840df789ece77d6f06b7a (diff) |
Still okay to be a source if you have yellow alarm (duh!)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@356 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-x | wct4xxp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -675,7 +675,7 @@ static void __t4_set_timing_source_auto(struct t4 *wc) for (x=0;x<4;x++) { if (wc->syncs[x]) { if ((wc->spans[wc->syncs[x] - 1].flags & ZT_FLAG_RUNNING) && - !(wc->spans[wc->syncs[x] - 1].alarms)) { + !(wc->spans[wc->syncs[x] - 1].alarms & ~(ZT_ALARM_YELLOW))) { /* Valid timing sourc e*/ __t4_set_timing_source(wc, wc->syncs[x] - 1); return; |