[dahdi-commits] kmoore: linux/trunk r9052 - /linux/trunk/drivers/dahdi/dahdi-base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Thu Jul 29 16:52:03 CDT 2010
Author: kmoore
Date: Thu Jul 29 16:51:52 2010
New Revision: 9052
URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9052
Log:
dahdi-base: display Reserved when a channel is unusable (has a sigcap of 0)
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=9052&r1=9051&r2=9052
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Thu Jul 29 16:51:52 2010
@@ -741,6 +741,8 @@
len += snprintf(page+len, count-len,
"Master ");
}
+ } else if (!chan->sigcap) {
+ len += snprintf(page+len, count-len, "Reserved ");
}
if (test_bit(DAHDI_FLAGBIT_OPEN, &chan->flags))
More information about the dahdi-commits
mailing list