aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-27 16:06:58 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2010-07-27 16:06:58 +0000
commit06b4648fa2f3e8d73972525e814e5a077d6eccae (patch)
tree8350cdac0e76ac364cc1d42e6b104b8053aeb2f2 /channels
parent83a3b22b9365082261031b6987501cf82cec00df (diff)
Support "channels" in addition to "channel" in chan_dahdi.conf.
Review: https://reviewboard.asterisk.org/r/804 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.8@279815 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_dahdi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 20accac26..c24d01106 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -16203,7 +16203,7 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct
}
/* Create the interface list */
- if (!strcasecmp(v->name, "channel")) {
+ if (!strcasecmp(v->name, "channel") || !strcasecmp(v->name, "channels")) {
if (options & PROC_DAHDI_OPT_NOCHAN) {
ast_log(LOG_WARNING, "Channel '%s' ignored.\n", v->value);
continue;