diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-07-02 17:36:17 +0200 |
---|---|---|
committer | Alexander Couzens <lynxis@fe80.eu> | 2021-07-02 17:38:12 +0200 |
commit | 31cf166511d5c97fb8839bb729995ea636a88f20 (patch) | |
tree | d359e68afa4b2dc5115d8daa37460a1046603b81 /src/gb/gprs_ns2.c | |
parent | a6096ad36731ee1ca0eb8f509bd08fab5281ef58 (diff) |
gprs_ns2: correct mtu value in the log line
The log line should describe what's reported towards the NS user
and not the NSE MTU itself
Related: OS#5192
Change-Id: I3f5445a1ba8c89c4023ff48be15a80569a128528
Diffstat (limited to 'src/gb/gprs_ns2.c')
-rw-r--r-- | src/gb/gprs_ns2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gb/gprs_ns2.c b/src/gb/gprs_ns2.c index a8e646b4..3eb59e54 100644 --- a/src/gb/gprs_ns2.c +++ b/src/gb/gprs_ns2.c @@ -562,11 +562,11 @@ void ns2_prim_status_ind(struct gprs_ns2_nse *nse, nsp.u.status.nsvc = gprs_ns2_ll_str_buf(nsvc_str, sizeof(nsvc_str), nsvc); LOGNSVC(nsvc, LOGL_NOTICE, "NS-STATUS.ind(bvci=%05u): cause=%s, transfer=%d, first=%d, mtu=%d\n", nsp.bvci, gprs_ns2_aff_cause_prim_str(nsp.u.status.cause), - nsp.u.status.transfer, nsp.u.status.first, nse->mtu); + nsp.u.status.transfer, nsp.u.status.first, nsp.u.status.mtu); } else { LOGNSE(nse, LOGL_NOTICE, "NS-STATUS.ind(bvci=%05u): cause=%s, transfer=%d, first=%d, mtu=%d\n", nsp.bvci, gprs_ns2_aff_cause_prim_str(nsp.u.status.cause), - nsp.u.status.transfer, nsp.u.status.first, nse->mtu); + nsp.u.status.transfer, nsp.u.status.first, nsp.u.status.mtu); } osmo_prim_init(&nsp.oph, SAP_NS, GPRS_NS2_PRIM_STATUS, PRIM_OP_INDICATION, NULL); |