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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 2 08:57:08 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14090 
====================================================================== 
Reported By:                alecdavis
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14090
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-12-16 03:44 CST
Last Modified:              2009-04-02 08:57 CDT
====================================================================== 
Summary:                    [patch] 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.



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

---------------------------------------------------------------------- 
 (0102611) svnbot (reporter) - 2009-04-02 08:57
 http://bugs.digium.com/view.php?id=14090#c102611 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 185960

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_dahdi.c

------------------------------------------------------------------------
r185960 | kpfleming | 2009-04-02 08:57:07 -0500 (Thu, 02 Apr 2009) | 14
lines

Merged revisions 164602 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r164602 | russell | 2008-12-16 08:17:45 -0600 (Tue, 16 Dec 2008) | 7
lines
  
  Fix usage of the DAHDI_VMWI ioctl.
  
  (closes issue http://bugs.digium.com/view.php?id=14090)
  Reported by: alecdavis
  Patches:
        chan_dahdi.VMWI_ioctl.diff.txt uploaded by alecdavis (license 585)
........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-02 08:57 svnbot         Note Added: 0102611                          
======================================================================




More information about the asterisk-bugs mailing list