[asterisk-bugs] [Asterisk 0014090]: unable to set DAHDI_VMWI to lower level drivers

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 16 03:44:51 CST 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14090 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14090
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-16 03:44 CST
Last Modified:              2008-12-16 03:44 CST
====================================================================== 
Summary:                    unable to set DAHDI_VMWI to lower level drivers
Description: 
The ioctl to set DAHDI_VMWI is missing an '&' in do_monitor
 res2 = ioctl(last->subs[SUB_REAL].dfd, DAHDI_VMWI, res);

should be
 res2 = ioctl(last->subs[SUB_REAL].dfd, DAHDI_VMWI, &res);

As is the case with every other ioctl.



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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-16 03:44 alecdavis      New Issue                                    
2008-12-16 03:44 alecdavis      Asterisk Version          => SVN             
2008-12-16 03:44 alecdavis      SVN Branch (only for SVN checkouts, not tarball
releases) =>  trunk          
======================================================================




More information about the asterisk-bugs mailing list