verified rfsim with splits, and quectel 2 sessions (no split)
This commit is contained in:
@@ -53,8 +53,8 @@ static void allocCopy(ngap_pdu_t *out, OCTET_STRING_t in)
|
||||
if (in.size) {
|
||||
out->buffer = malloc(in.size);
|
||||
memcpy(out->buffer, in.buf, in.size);
|
||||
out->length = in.size;
|
||||
}
|
||||
out->length = in.size;
|
||||
}
|
||||
|
||||
char *ngap_direction2String(int ngap_dir) {
|
||||
|
||||
@@ -54,8 +54,8 @@ static void allocCopy(OCTET_STRING_t *out, ngap_pdu_t in)
|
||||
if (in.length) {
|
||||
out->buf = malloc(in.length);
|
||||
memcpy(out->buf, in.buffer, in.length);
|
||||
out->size = in.length;
|
||||
}
|
||||
out->size = in.length;
|
||||
}
|
||||
|
||||
static void allocAddrCopy(BIT_STRING_t *out, ngap_transport_layer_addr_t in)
|
||||
|
||||
Reference in New Issue
Block a user