[asterisk-bugs] [Asterisk 0013759]: [patch] Obvious typo (logic error)

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Oct 22 14:54:35 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13759 
====================================================================== 
Reported By:                smurfix
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   13759
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-21 19:11 CDT
Last Modified:              2008-10-22 14:54 CDT
====================================================================== 
Summary:                    [patch] Obvious typo (logic error)
Description: 
There's an obvious typo in DAHDI config file processing; see patch.

In addition, a channels= line is currently silently ignored if it's in the
wrong section. That's probably not a good idea,
debugging-by-reading-source-and-guessing should not be necessary. Also see
patch.
====================================================================== 

---------------------------------------------------------------------- 
 (0094166) svnbot (reporter) - 2008-10-22 14:54
 http://bugs.digium.com/view.php?id=13759#c94166 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 151600

U   trunk/channels/chan_dahdi.c

------------------------------------------------------------------------
r151600 | mmichelson | 2008-10-22 14:54:34 -0500 (Wed, 22 Oct 2008) | 10
lines

Change some logical ands to bitwise ands and add
messages alerting that a channel is being ignored
if the PROC_DAHDI_NOCHAN option is set in process_dahdi.

(closes issue http://bugs.digium.com/view.php?id=13759)
Reported by: smurfix
Patches:
      dahdi.patch uploaded by smurfix (license 547)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=151600 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-10-22 14:54 svnbot         Checkin                                      
2008-10-22 14:54 svnbot         Note Added: 0094166                          
======================================================================




More information about the asterisk-bugs mailing list