[asterisk-commits] tilghman: trunk r274281 - /trunk/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 6 17:09:27 CDT 2010


Author: tilghman
Date: Tue Jul  6 17:09:23 2010
New Revision: 274281

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=274281
Log:
Status shows all non-CRC4 lines as "yellow", even if "yellow" was not in the bitfield.

Modified:
    trunk/channels/chan_dahdi.c

Modified: trunk/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=274281&r1=274280&r2=274281
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Tue Jul  6 17:09:23 2010
@@ -14769,7 +14769,8 @@
 			s.lineconfig & DAHDI_CONFIG_AMI ? "AMI" :
 			"Unk",
 			s.lineconfig & DAHDI_CONFIG_CRC4 ?
-			s.lineconfig & DAHDI_CONFIG_NOTOPEN ? "CRC4/YEL" : "CRC4" : "YEL",
+				s.lineconfig & DAHDI_CONFIG_NOTOPEN ? "CRC4/YEL" : "CRC4" :
+				s.lineconfig & DAHDI_CONFIG_NOTOPEN ? "YEL" : "",
 			lbostr[s.lbo]
 			);
 	}




More information about the asterisk-commits mailing list