Browse code

update err_reqs statistics (cherry picked from commit e524a9512dbd24b56713dcf8f0fce1d44b46ae0b)

Daniel-Constantin Mierla authored on 23/10/2009 14:08:40 • Andrei Pelinescu-Onciul committed on 01/02/2010 15:56:56
Showing 1 changed files
... ...
@@ -149,6 +149,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
149 149
 		if ((msg->via1==0) || (msg->via1->error!=PARSE_OK)){
150 150
 			/* no via, send back error ? */
151 151
 			LOG(L_ERR, "ERROR: receive_msg: no via found in request\n");
152
+			sr_event_exec(SREV_CORE_STATS, (void*)5);
152 153
 			goto error02;
153 154
 		}
154 155
 		/* check if necessary to add receive?->moved to forward_req */