From bdd80b759acdb0db99d72da9165d1f527b333ebf Mon Sep 17 00:00:00 2001 From: Brian West Date: Tue, 8 Dec 2009 17:00:09 +0000 Subject: [PATCH] missing ikey git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15843 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_commands/mod_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index a8dd24c20e..f3c34b74ab 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -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"); }