[asterisk-bugs] [DAHDI-linux 0015408]: [patch] Incorrect timing source validation (related to #13954)

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Jun 26 11:33:27 CDT 2009


The following issue has been UPDATED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15408 
====================================================================== 
Reported By:                dferrer
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15408
Category:                   tor2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2009-06-26 11:32 CDT
Last Modified:              2009-06-26 11:33 CDT
====================================================================== 
Summary:                    [patch] Incorrect timing source validation (related
to https://issues.asterisk.org/view.php?id=13954)
Description: 
Can't set a 4th timing source with tor2, dahdi_cfg fails with this error in
dmesg:

tor2 4: invalid span timing value 4.

This is because a '>=' comparison between lc->sync and SPANS_PER_CARD
(lc->sync = 4, SPANS_PER_CARD = 4). Comparison must be '>' strict to allow
a 4th timing source (SPANS_PER_CARD = 4). 

This commit was added to correct timing source problems and adds the
mentioned '>=' comparison:
r5590 | tzafrir | 2008-12-19 06:39:26 -0600 (Fri, 19 Dec 2008) | 4 lines

Related to https://issues.asterisk.org/view.php?id=13954

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-06-26 11:33 dferrer        Summary                  Incorrect timing source
validation (related to https://issues.asterisk.org/view.php?id=13954) => [patch]
Incorrect timing source validation (related to
https://issues.asterisk.org/view.php?id=13954)
======================================================================




More information about the asterisk-bugs mailing list