ns2: improve log line when receving a PDU with wrong NSE

Change-Id: I072510461fb426fa62ca20c5103764b0efd25f82
This commit is contained in:
Alexander Couzens 2021-10-12 18:58:31 +02:00 committed by lynxis lazus
parent c549719088
commit f8635c7e6f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}