Browse code

siptrace: renamed SREV_NET_DATA_SEND to SREV_NET_DATA_SENT

Daniel-Constantin Mierla authored on 24/03/2021 08:05:55
Showing 1 changed files
... ...
@@ -119,7 +119,7 @@ static int  trace_add_info_xavp(siptrace_info_t* info);
119 119
 static inline int trace_parse_raw_uri(siptrace_info_t* info);
120 120
 
121 121
 int siptrace_net_data_recv(sr_event_param_t *evp);
122
-int siptrace_net_data_send(sr_event_param_t *evp);
122
+int siptrace_net_data_sent(sr_event_param_t *evp);
123 123
 
124 124
 #define SIPTRACE_INIT_MODE_ALL 0
125 125
 #define SIPTRACE_INIT_MODE_CORECB 1
... ...
@@ -481,7 +481,7 @@ static int mod_init(void)
481 481
 			|| _siptrace_init_mode==SIPTRACE_INIT_MODE_CORECB) {
482 482
 		if(_siptrace_mode != SIPTRACE_MODE_NONE) {
483 483
 			sr_event_register_cb(SREV_NET_DATA_RECV, siptrace_net_data_recv);
484
-			sr_event_register_cb(SREV_NET_DATA_SEND, siptrace_net_data_send);
484
+			sr_event_register_cb(SREV_NET_DATA_SENT, siptrace_net_data_sent);
485 485
 		} else if(_siptrace_init_mode==SIPTRACE_INIT_MODE_CORECB) {
486 486
 			LM_ERR("invalid config options for core callbacks tracing\n");
487 487
 			return -1;
... ...
@@ -2205,7 +2205,7 @@ afterdb:
2205 2205
 /**
2206 2206
  *
2207 2207
  */
2208
-int siptrace_net_data_send(sr_event_param_t *evp)
2208
+int siptrace_net_data_sent(sr_event_param_t *evp)
2209 2209
 {
2210 2210
 	sr_net_info_t *nd;
2211 2211
 	dest_info_t new_dst;