Module: sip-router
Branch: kamailio_3.0
Commit: 6a84eeebc2575d90d5795abb95af33ab37407aef
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6a84eeeā¦
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Tue Oct 13 21:40:04 2009 +0200
core: update fwd_reqs stat
---
forward.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/forward.c b/forward.c
index d7fb827..a9cfc7f 100644
--- a/forward.c
+++ b/forward.c
@@ -72,6 +72,7 @@
#include "config.h"
#include "parser/msg_parser.h"
#include "route.h"
+#include "events.h"
#include "dprint.h"
#include "globals.h"
#include "cfg_core.h"
@@ -581,6 +582,8 @@ end:
#endif
if (buf) pkg_free(buf);
/* received_buf & line_buf will be freed in receive_msg by free_lump_list*/
+ if(ret==0)
+ sr_event_exec(SREV_CORE_STATS, (void*)1);
return ret;
}