diff --git a/src/ranap_msg_factory.c b/src/ranap_msg_factory.c index efc00c6a..99a86ffc 100644 --- a/src/ranap_msg_factory.c +++ b/src/ranap_msg_factory.c @@ -482,7 +482,7 @@ static RANAP_UserPlaneInformation_t *new_upi(long mode, uint8_t mode_versions) static void assign_new_ra_id(RANAP_RAB_ID_t *id, uint8_t rab_id) { uint8_t *buf = CALLOC(1, sizeof(*buf)); - *buf = rab_id << 3; + *buf = rab_id; id->buf = buf; id->size = 1;