[svn-commits] rmeyerriecks: tools/trunk r8993 - /tools/trunk/dahdi_scan.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Jul 26 13:56:59 CDT 2010
Author: rmeyerriecks
Date: Mon Jul 26 13:56:47 2010
New Revision: 8993
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8993
Log:
Modified dahdi_sync to report detailed alarms
Modified:
tools/trunk/dahdi_scan.c
Modified: tools/trunk/dahdi_scan.c
URL: http://svnview.digium.com/svn/dahdi/tools/trunk/dahdi_scan.c?view=diff&rev=8993&r1=8992&r2=8993
==============================================================================
--- tools/trunk/dahdi_scan.c (original)
+++ tools/trunk/dahdi_scan.c Mon Jul 26 13:56:47 2010
@@ -88,8 +88,15 @@
strcat(alarms,"BLU/");
if (s.alarms & DAHDI_ALARM_YELLOW)
strcat(alarms, "YEL/");
- if (s.alarms & DAHDI_ALARM_RED)
+ if (s.alarms & DAHDI_ALARM_RED) {
strcat(alarms, "RED/");
+ if (s.alarms & DAHDI_ALARM_LFA)
+ strcat(alarms, "LFA/");
+ if (s.alarms & DAHDI_ALARM_LMFA)
+ strcat(alarms, "LMFA/");
+ if (s.alarms & DAHDI_ALARM_SYNC)
+ strcat(alarms, "SYNC/");
+ }
if (s.alarms & DAHDI_ALARM_LOOPBACK)
strcat(alarms,"LB/");
if (s.alarms & DAHDI_ALARM_RECOVER)
More information about the svn-commits
mailing list