]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
missing ikey
authorBrian West <brian@freeswitch.org>
Tue, 8 Dec 2009 17:00:09 +0000 (17:00 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 8 Dec 2009 17:00:09 +0000 (17:00 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15843 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_commands/mod_commands.c

index a8dd24c20e8920f93b10fb37615dd4289a510734..f3c34b74ab06d0275307126d630e2fea4a29e9b6 100644 (file)
@@ -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");
                }