Browse Source

update err_reqs statistics

Daniel-Constantin Mierla 16 năm trước cách đây
mục cha
commit
e524a9512d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      receive.c

+ 1 - 0
receive.c

@@ -148,6 +148,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 */