[asterisk-commits] russell: branch 1.8 r279815 - /branches/1.8/channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jul 27 11:07:02 CDT 2010


Author: russell
Date: Tue Jul 27 11:06:58 2010
New Revision: 279815

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=279815
Log:
Support "channels" in addition to "channel" in chan_dahdi.conf.

Review: https://reviewboard.asterisk.org/r/804

Modified:
    branches/1.8/channels/chan_dahdi.c

Modified: branches/1.8/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_dahdi.c?view=diff&rev=279815&r1=279814&r2=279815
==============================================================================
--- branches/1.8/channels/chan_dahdi.c (original)
+++ branches/1.8/channels/chan_dahdi.c Tue Jul 27 11:06:58 2010
@@ -16203,7 +16203,7 @@
 		}
 
 		/* 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;




More information about the asterisk-commits mailing list