diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-10-12 18:58:31 +0200 |
---|---|---|
committer | lynxis lazus <lynxis@fe80.eu> | 2021-10-15 13:39:31 +0000 |
commit | f8635c7e6f5b45bfec528d85e6f4a5b3d4984c8c (patch) | |
tree | 3917729496285a9bd6fcb50a1be089bac8cb6a29 | |
parent | c549719088ebd71677626e14329cd0c1aeef5622 (diff) |
ns2: improve log line when receving a PDU with wrong NSE
Change-Id: I072510461fb426fa62ca20c5103764b0efd25f82
-rw-r--r-- | src/gb/gprs_ns2_vc_fsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gb/gprs_ns2_vc_fsm.c b/src/gb/gprs_ns2_vc_fsm.c index aa6613b3..726fc0c0 100644 --- a/src/gb/gprs_ns2_vc_fsm.c +++ b/src/gb/gprs_ns2_vc_fsm.c @@ -876,7 +876,7 @@ int ns2_vc_rx(struct gprs_ns2_vc *nsvc, struct msgb *msg, struct tlv_parsed *tp) if (nsh->pdu_type == NS_PDUT_RESET) ns2_tx_reset_ack(nsvc); - LOG_NS_SIGNAL(nsvc, "Rx", nsh->pdu_type, LOGL_ERROR, " with wrong NSEI=%05u. Ignoring PDU.\n", nsei); + LOG_NS_SIGNAL(nsvc, "Rx", nsh->pdu_type, LOGL_ERROR, " with wrong NSEI (exp: %05u, got %05u). Ignoring PDU.\n", nsvc->nse->nsei, nsei); goto out; } } |