提交 bdd80b75 authored 作者: Brian West's avatar Brian West

missing ikey

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15843 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 39ee7ef2
......@@ -3015,7 +3015,7 @@ SWITCH_STANDARD_API(show_function)
sprintf(sql, "select type, name, ikey from interfaces where type = '%s' order by type,name", command);
} else if (!strncasecmp(command, "module", 6)) {
if (argv[1]) {
sprintf(sql, "select distinct type, name, ikey, filename from interfaces where key = '%s' order by type,name", argv[1]);
sprintf(sql, "select distinct type, name, ikey, filename from interfaces where ikey = '%s' order by type,name", argv[1]);
} else {
sprintf(sql, "select distinct type, name, ikey, filename from interfaces order by type,name");
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论