Module: sip-router Branch: kamailio_3.0 Commit: e524a9512dbd24b56713dcf8f0fce1d44b46ae0b URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e524a951...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Fri Oct 23 16:08:40 2009 +0200
update err_reqs statistics
---
receive.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/receive.c b/receive.c index 4d10d1a..495f383 100644 --- a/receive.c +++ b/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 */