Browse Source

drouting:

- fixed access to rlist
Raul Alexis Betancor Santana 16 years ago
parent
commit
9b675c5a60
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules_k/drouting/drouting.c

+ 1 - 1
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 "