diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2016-07-05 09:52:52 +0200 |
---|---|---|
committer | Holger Freyther <holger@freyther.de> | 2016-07-25 00:15:53 +0000 |
commit | 14314bd808369f0da32860412acfcd775e5c7b24 (patch) | |
tree | 112de17ea15dae8a0ab62ee510c9684e188e6677 /openbsc/src/gprs/sgsn_main.c | |
parent | b1c227e5abbe023615c591ccaf865a3dcb9c742e (diff) |
sgsn: add statistics counter for GPRS and PDP packets
Changing the test to allow still allocated block from the rate
counters.
Change-Id: Ie30e4c3084ee3a138d6b39bb5000234ac814e65f
Diffstat (limited to 'openbsc/src/gprs/sgsn_main.c')
-rw-r--r-- | openbsc/src/gprs/sgsn_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gprs/sgsn_main.c b/openbsc/src/gprs/sgsn_main.c index 44751363c..52fc98561 100644 --- a/openbsc/src/gprs/sgsn_main.c +++ b/openbsc/src/gprs/sgsn_main.c @@ -342,6 +342,7 @@ int main(int argc, char **argv) bssgp_nsi = sgsn_inst.cfg.nsi = sgsn_nsi; gprs_llc_init("/usr/local/lib/osmocom/crypt/"); + sgsn_rate_ctr_init(); sgsn_inst_init(); gprs_ns_vty_init(bssgp_nsi); |