2
0
Эх сурвалжийг харах

siptrace: fix run_top_route() call to set ctx

- fix drop() usage in siptrace:msg event route
Nuno Ferreira 5 жил өмнө
parent
commit
ef9924495d

+ 1 - 1
src/modules/siptrace/siptrace.c

@@ -2053,7 +2053,7 @@ static int siptrace_exec_evcb_msg(siptrace_data_t *sto)
 	init_run_actions_ctx(&ctx);
 
 	if(_siptrace_evrt_msg_idx>=0) {
-		run_top_route(event_rt.rlist[_siptrace_evrt_msg_idx], &msg, 0);
+		run_top_route(event_rt.rlist[_siptrace_evrt_msg_idx], &msg, &ctx);
 	} else {
 		keng = sr_kemi_eng_get();
 		if (keng!=NULL) {