diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-05-25 22:17:30 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-05-25 22:17:30 +0200 |
commit | b1020d5135d5547d279f63516e837dec39a3aaed (patch) | |
tree | af48686916d360014f8fb1d7efcdb61550a2bc22 /openbsc/src | |
parent | ee59fe4a67bdd3c5224a980c55e00ef91115664e (diff) |
[GPRS] NS: Always generate LOG_INFO message when we block NS-VC
Diffstat (limited to 'openbsc/src')
-rw-r--r-- | openbsc/src/gprs/gprs_ns.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/gprs/gprs_ns.c b/openbsc/src/gprs/gprs_ns.c index 3d115c11..bf563cc6 100644 --- a/openbsc/src/gprs/gprs_ns.c +++ b/openbsc/src/gprs/gprs_ns.c @@ -149,6 +149,8 @@ struct gprs_nsvc *nsvc_create(struct gprs_ns_inst *nsi, uint16_t nsvci) { struct gprs_nsvc *nsvc; + LOGP(DNS, LOGL_INFO, "NSVCI=%u Creating NS-VC\n", nsvci); + nsvc = talloc_zero(nsi, struct gprs_nsvc); nsvc->nsvci = nsvci; /* before RESET procedure: BLOCKED and DEAD */ @@ -928,6 +930,9 @@ int gprs_ns_nsip_listen(struct gprs_ns_inst *nsi) /* Initiate a RESET procedure */ void gprs_nsvc_reset(struct gprs_nsvc *nsvc, uint8_t cause) { + LOGP(DNS, LOGL_INFO, "NSEI=%u RESET procedure based on API request\n", + nsvc->nsei); + /* Mark NS-VC locally as blocked and dead */ nsvc->state = NSE_S_BLOCKED; /* Send NS-RESET PDU */ |