[svn-commits] rmeyerriecks: branch linux/rmeyerriecks/dahdi-tools-alarms r8847 - /linux/tea...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jun 30 19:26:12 CDT 2010


Author: rmeyerriecks
Date: Wed Jun 30 19:26:05 2010
New Revision: 8847

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=8847
Log:
Modified dahdi_sync to report detailed alarms

Modified:
    linux/team/rmeyerriecks/dahdi-tools-alarms/dahdi_scan.c

Modified: linux/team/rmeyerriecks/dahdi-tools-alarms/dahdi_scan.c
URL: http://svnview.digium.com/svn/dahdi/linux/team/rmeyerriecks/dahdi-tools-alarms/dahdi_scan.c?view=diff&rev=8847&r1=8846&r2=8847
==============================================================================
--- linux/team/rmeyerriecks/dahdi-tools-alarms/dahdi_scan.c (original)
+++ linux/team/rmeyerriecks/dahdi-tools-alarms/dahdi_scan.c Wed Jun 30 19:26:05 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