Browse code

siptrace: fix run_top_route() call to set ctx

- fix drop() usage in siptrace:msg event route

Nuno Ferreira authored on 07/08/2020 18:20:00
Showing 1 changed files
... ...
@@ -2053,7 +2053,7 @@ static int siptrace_exec_evcb_msg(siptrace_data_t *sto)
2053 2053
 	init_run_actions_ctx(&ctx);
2054 2054
 
2055 2055
 	if(_siptrace_evrt_msg_idx>=0) {
2056
-		run_top_route(event_rt.rlist[_siptrace_evrt_msg_idx], &msg, 0);
2056
+		run_top_route(event_rt.rlist[_siptrace_evrt_msg_idx], &msg, &ctx);
2057 2057
 	} else {
2058 2058
 		keng = sr_kemi_eng_get();
2059 2059
 		if (keng!=NULL) {