Oopsie, breakage
authorTilghman Lesher <tilghman@meg.abyt.es>
Mon, 16 Jun 2008 21:31:43 +0000 (21:31 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Mon, 16 Jun 2008 21:31:43 +0000 (21:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@123201 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 9bbb017..2db7fe3 100644 (file)
@@ -14382,7 +14382,7 @@ static int setup_dahdi(int reload)
        mwimonitornotify[0] = '\0';
 
        v = ast_variable_browse(cfg, "channels");
-       if ((res = process_dahdi(&base_conf, v, reload, 0))) {
+       if ((res = process_dahdi(&base_conf, "", v, reload, 0))) {
                ast_mutex_unlock(&iflock);
                ast_config_destroy(cfg);
                if (ucfg) {
@@ -14405,7 +14405,7 @@ static int setup_dahdi(int reload)
 
                memcpy(&conf, &base_conf, sizeof(conf));
 
-               if ((res = process_dahdi(&conf, ast_variable_browse(cfg, cat), reload, PROC_DAHDI_OPT_NOCHAN))) {
+               if ((res = process_dahdi(&conf, cat, ast_variable_browse(cfg, cat), reload, PROC_DAHDI_OPT_NOCHAN))) {
                        ast_mutex_unlock(&iflock);
                        ast_config_destroy(cfg);
                        if (ucfg) {