commit 01525953828f9bf8281a3a2a51169e7be2cd692c Author: Matthias Urlichs Date: Wed Oct 22 02:18:18 2008 +0200 dahdi: debug: number ignored? diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 9a87d2d..c64b811 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -13760,11 +13760,14 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct #endif ) { int iscrv; - if (options && PROC_DAHDI_OPT_NOCHAN) + if (options & PROC_DAHDI_OPT_NOCHAN) { + ast_log(LOG_WARNING, "Channel '%s' ignored.\n", v->value); continue; + } iscrv = !strcasecmp(v->name, "crv"); if (build_channels(confp, iscrv, v->value, reload, v->lineno, &found_pseudo)) return -1; + ast_log(LOG_DEBUG, "Channel '%s' configured.\n", v->value); } else if (!strcasecmp(v->name, "buffers")) { int res; char policy[21] = "";