summaryrefslogtreecommitdiffstats
path: root/route.c
diff options
context:
space:
mode:
authorSuper User2007-07-27 20:07:22 +0200
committerSuper User2007-07-27 20:07:22 +0200
commitb5427b9c694cc2c0c1e5361d4cba721c87ad1cac (patch)
tree6def426175d28de5a5020be7b7f01e6835be8a3a /route.c
parentunified socket application interface (for asterisk and maybe other apps) (diff)
downloadlcr-b5427b9c694cc2c0c1e5361d4cba721c87ad1cac.tar.gz
lcr-b5427b9c694cc2c0c1e5361d4cba721c87ad1cac.tar.xz
lcr-b5427b9c694cc2c0c1e5361d4cba721c87ad1cac.zip
fixes, changes, backup
Diffstat (limited to 'route.c')
-rw-r--r--route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/route.c b/route.c
index 3381251..e8bf896 100644
--- a/route.c
+++ b/route.c
@@ -2216,7 +2216,7 @@ struct route_action *EndpointAppPBX::route(struct route_ruleset *ruleset)
admin = admin_first;
while(admin)
{
- if (admin->remote[0] && !strcmp(cond->string_value, admin->remote))
+ if (admin->remote_name[0] && !strcmp(cond->string_value, admin->remote_name))
break;
admin = admin->next;
}