浏览代码

dispatcher: print the flags and priority in the debug message

Daniel-Constantin Mierla 1 月之前
父节点
当前提交
533324e21e
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/modules/dispatcher/dispatch.c

+ 2 - 1
src/modules/dispatcher/dispatch.c

@@ -823,7 +823,8 @@ ds_dest_t *add_dest2list(int id, str uri, int flags, int priority, str *attrs,
 		}
 	}
 
-	LM_DBG("dest [%d/%d] <%.*s>\n", sp->id, sp->nr, dp->uri.len, dp->uri.s);
+	LM_DBG("dest [%d/%d] <%.*s> (%d %d)\n", sp->id, sp->nr, dp->uri.len,
+			dp->uri.s, dp->flags, dp->priority);
 
 	return dp;
 error: