[asterisk-bugs] [DAHDI 0013226]: [patch] Use more efficient method to traverse channels on a span

Asterisk Bug Tracker noreply at bugs.digium.com
Sun Aug 3 15:19:16 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13226 
====================================================================== 
Reported By:                russell
Assigned To:                
====================================================================== 
Project:                    DAHDI
Issue ID:                   13226
Category:                   dahdi (the module)
Reproducibility:            have not tried
Severity:                   tweak
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2008-08-03 15:19 CDT
Last Modified:              2008-08-03 15:19 CDT
====================================================================== 
Summary:                    [patch] Use more efficient method to traverse
channels on a span
Description: 
This patch modifies a for loop in proc_read to traverse the channels on a
span by simply walking the array of channels in the dahdi_chan struct,
instead of looking at every dahdi channel to see if it is a member of the
appropriate span.

I'm posting it here because I don't have a way to test this at the moment
to make sure I didn't break anything.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-03 15:19 russell        New Issue                                    
======================================================================




More information about the asterisk-bugs mailing list