Преглед на файлове

update err_reqs statistics
(cherry picked from commit e524a9512dbd24b56713dcf8f0fce1d44b46ae0b)

Daniel-Constantin Mierla преди 16 години
родител
ревизия
ea647479ab
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      receive.c

+ 1 - 0
receive.c

@@ -149,6 +149,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
 		if ((msg->via1==0) || (msg->via1->error!=PARSE_OK)){
 			/* no via, send back error ? */
 			LOG(L_ERR, "ERROR: receive_msg: no via found in request\n");
+			sr_event_exec(SREV_CORE_STATS, (void*)5);
 			goto error02;
 		}
 		/* check if necessary to add receive?->moved to forward_req */