fix formatting in NAS

master
Andre Puschmann 5 years ago
parent e768989074
commit 4ac5448ad7

@ -1726,10 +1726,10 @@ void nas::cipher_decrypt(srslte::byte_buffer_t* pdu)
0, // Bearer always 0 for NAS
srslte::SECURITY_DIRECTION_UPLINK,
&pdu->msg[6],
pdu->N_bytes-6,
pdu->N_bytes - 6,
&tmp_pdu.msg[6]);
m_nas_log->debug_hex(tmp_pdu.msg, pdu->N_bytes, "Decrypted");
memcpy(&pdu->msg[6], &tmp_pdu.msg[6], pdu->N_bytes-6);
memcpy(&pdu->msg[6], &tmp_pdu.msg[6], pdu->N_bytes - 6);
break;
default:
m_nas_log->error("Ciphering algorithms not known\n");

Loading…
Cancel
Save