[sr-dev] git:tmp/k3.0_sr_backports: update err_rpls statistics

Andrei Pelinescu-Onciul andrei at iptel.org
Mon Feb 1 18:25:56 CET 2010


Module: sip-router
Branch: tmp/k3.0_sr_backports
Commit: a3cdd3335977c8b9bd2e8225c3e8c9bc7f1b9cc8
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a3cdd3335977c8b9bd2e8225c3e8c9bc7f1b9cc8

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Fri Oct 23 16:04:21 2009 +0200

update err_rpls statistics
(cherry picked from commit b542c1c71ed132e58d0d07d5ba66a241384ae6a2)

---

 receive.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/receive.c b/receive.c
index 49c7c0b..ed75e0d 100644
--- a/receive.c
+++ b/receive.c
@@ -208,6 +208,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 reply\n");
+			sr_event_exec(SREV_CORE_STATS, (void*)6);
 			goto error02;
 		}
 




More information about the sr-dev mailing list