Module: sip-router
Branch: rbetancor/drouting
Commit: 9b675c5a60ebb7c7a747312c0f3928eff9c2a966
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9b675c5…
Author: Raul Alexis Betancor Santana <rabs(a)dimension-virtual.com>
Committer: Raul Alexis Betancor Santana <rabs(a)dimension-virtual.com>
Date: Thu Jul 2 17:45:43 2009 +0100
drouting:
- fixed access to rlist
---
modules_k/drouting/drouting.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/drouting/drouting.c b/modules_k/drouting/drouting.c
index a5bb756..9c92a31 100644
--- a/modules_k/drouting/drouting.c
+++ b/modules_k/drouting/drouting.c
@@ -745,7 +745,7 @@ again:
}
if (rt_info->route_idx>0 && rt_info->route_idx<RT_NO) {
- ret = run_top_route( rlist[rt_info->route_idx], msg );
+ ret = run_top_route(main_rt.rlist[rt_info->route_idx], msg );
if (ret<1) {
/* drop the action */
LM_DBG("script route %d drops routing "