Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-SMF
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
0
Merge Requests
0
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-SMF
Commits
64494629
Commit
64494629
authored
Sep 30, 2022
by
Tien Thinh NGUYEN
Committed by
Stefan Spettel
Oct 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix for F-TEID IE in PFCP message
parent
8fe1acb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
src/pfcp/3gpp_29.244.hpp
src/pfcp/3gpp_29.244.hpp
+6
-8
No files found.
src/pfcp/3gpp_29.244.hpp
View file @
64494629
...
...
@@ -735,28 +735,26 @@ class pfcp_fteid_ie : public pfcp_ie {
//--------
explicit
pfcp_fteid_ie
(
const
pfcp
::
fteid_t
&
b
)
:
pfcp_ie
(
PFCP_IE_F_TEID
)
{
tlv
.
set_length
(
1
);
u1
.
b
=
0
;
u1
.
bf
.
ch
=
b
.
ch
;
u1
.
bf
.
chid
=
b
.
chid
;
teid
=
b
.
teid
;
ipv4_address
=
b
.
ipv4_address
;
ipv6_address
=
b
.
ipv6_address
;
u1
.
b
=
0
;
u1
.
bf
.
ch
=
b
.
ch
;
u1
.
bf
.
chid
=
b
.
chid
;
teid
=
b
.
teid
;
if
(
!
u1
.
bf
.
ch
)
{
tlv
.
add_length
(
4
);
// teid
u1
.
bf
.
v4
=
b
.
v4
;
u1
.
bf
.
v6
=
b
.
v6
;
if
(
u1
.
bf
.
v4
)
{
tlv
.
add_length
(
4
);
ipv4_address
=
b
.
ipv4_address
;
}
if
(
u1
.
bf
.
v6
)
{
tlv
.
add_length
(
16
);
ipv6_address
=
b
.
ipv6_address
;
}
}
if
(
u1
.
bf
.
ch
&
b
.
v4
)
{
u1
.
bf
.
v4
=
b
.
v4
;
}
else
{
ipv4_address
.
s_addr
=
INADDR_ANY
;
ipv6_address
=
in6addr_any
;
// else should clear v4 v6 bits
if
(
u1
.
bf
.
chid
)
{
choose_id
=
b
.
choose_id
;
...
...
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