Module: sip-router Branch: tmp/k3.0_sr_backports Commit: ea647479ab4a89f2a69062d19bd165c5d14f49c3 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ea647479...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Andrei Pelinescu-Onciul andrei@iptel.org Date: Fri Oct 23 16:08:40 2009 +0200
update err_reqs statistics (cherry picked from commit e524a9512dbd24b56713dcf8f0fce1d44b46ae0b)
---
receive.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/receive.c b/receive.c index ed75e0d..5047d3a 100644 --- a/receive.c +++ b/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 */