Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-RAN
Commits
aae05e95
Commit
aae05e95
authored
Sep 19, 2024
by
Guido Casati
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use sizeof(in_addr_t) in memcpy of TL uint32_t address
parent
4829fa05
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
openair2/RRC/NR/rrc_gNB_NGAP.c
openair2/RRC/NR/rrc_gNB_NGAP.c
+1
-1
No files found.
openair2/RRC/NR/rrc_gNB_NGAP.c
View file @
aae05e95
...
...
@@ -355,7 +355,7 @@ void trigger_bearer_setup(gNB_RRC_INST *rrc, gNB_RRC_UE_t *UE, int n, pdusession
sec
->
confidentialityProtectionIndication
=
rrc
->
security
.
do_drb_ciphering
?
SECURITY_REQUIRED
:
SECURITY_NOT_NEEDED
;
pdu
->
UP_TL_information
.
teId
=
session
->
gtp_teid
;
memcpy
(
&
pdu
->
UP_TL_information
.
tlAddress
,
session
->
upf_addr
.
buffer
,
4
);
// Fixme: dirty IPv4 target
memcpy
(
&
pdu
->
UP_TL_information
.
tlAddress
,
session
->
upf_addr
.
buffer
,
sizeof
(
in_addr_t
));
/* we assume for the moment one DRB per PDU session. Activate the bearer,
* and configure in RRC. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment