summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2010-07-29 21:51:52 +0000
committerKinsey Moore <kmoore@digium.com>2010-07-29 21:51:52 +0000
commit4e0e39b2c25f746e343030322f8135aa1539f60a (patch)
tree4f814eb38d75c4c8dc9d80cb7f50789053487e52 /drivers
parent8aceab78a219dc3c7f8458f9f29882d4212c0856 (diff)
dahdi-base: display Reserved when a channel is unusable (has a sigcap of 0)
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9052 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers')
-rw-r--r--drivers/dahdi/dahdi-base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/dahdi-base.c b/drivers/dahdi/dahdi-base.c
index ddb9508..a54bbeb 100644
--- a/drivers/dahdi/dahdi-base.c
+++ b/drivers/dahdi/dahdi-base.c
@@ -741,6 +741,8 @@ static int dahdi_proc_read(char *page, char **start, off_t off, int count, int *
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))