Commit e062b8f8 authored by Tien-Thinh Nguyen's avatar Tien-Thinh Nguyen

Remove 2 bytes (00 00) at the end of NAS msg

parent d5978496
......@@ -186,10 +186,10 @@ int nas_message_encode(unsigned char *buffer, const nas_message_t *const msg,
if (bytes < 0) {
return bytes;
}
// if (size > 1) {
// return size + bytes;
// }
if (size > 1) {
return size + bytes;
}
return bytes;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment