From: Mathieu Rene Date: Fri, 3 Apr 2009 18:56:53 +0000 (+0000) Subject: tweak X-Git-Tag: v1.0.4~1275 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbb5c1fbd24fc0f229d227c2e029f8d0f2d09249;p=thirdparty%2Ffreeswitch.git tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12910 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 4bfbe34b2d..049319846c 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -2589,7 +2589,7 @@ SWITCH_STANDARD_API(show_function) 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]);