aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_queue.c')
-rw-r--r--apps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index e244a7559..30da0019c 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -706,8 +706,8 @@ static int update_status(const char *interface, const int status)
char *tmp_interface;
char *slash_pos;
tmp_interface = ast_strdupa(cur->state_interface);
- if ((slash_pos = strchr(interface, '/')))
- if ((slash_pos = strchr(slash_pos + 1, '/')))
+ if ((slash_pos = strchr(tmp_interface, '/')))
+ if (!strncasecmp(tmp_interface, "Local", 5) && (slash_pos = strchr(slash_pos + 1, '/')))
*slash_pos = '\0';
if (strcasecmp(interface, tmp_interface)) {