Author: mrene Date: Fri Apr 3 13:56:53 2009 New Revision: 12910 Log: tweak Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c ============================================================================== --- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c (original) +++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c Fri Apr 3 13:56:53 2009 @@ -2589,7 +2589,7 @@ if (end_of(command) == 's') { end_of(command) = '\0'; } - sprintf(sql, "select type, name, key from interfaces where key = '%s' order by type,name", command); + sprintf(sql, "select type, name, key 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, key, filename from interfaces where key = '%s' order by type,name", argv[1]);