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
0a6d081e
Commit
0a6d081e
authored
Aug 08, 2022
by
ferrerod
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.eurecom.fr:oai/cn5g/oai-cn5g-smf into qos_monitoring_event
parents
fd3a453b
5ffe1504
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
src/common/utils/mime_parser.cpp
src/common/utils/mime_parser.cpp
+3
-1
src/pfcp/3gpp_29.244.hpp
src/pfcp/3gpp_29.244.hpp
+5
-0
No files found.
src/common/utils/mime_parser.cpp
View file @
0a6d081e
...
...
@@ -33,8 +33,10 @@ bool mime_parser::parse(const std::string& str) {
// find boundary
std
::
size_t
content_type_pos
=
str
.
find
(
"Content-Type"
);
// first part
// For normal message -> don't need to parse (number of parts = 0)
if
((
content_type_pos
<=
4
)
or
(
content_type_pos
==
std
::
string
::
npos
))
return
fals
e
;
return
tru
e
;
std
::
string
boundary_str
=
str
.
substr
(
2
,
content_type_pos
-
4
);
// 2 for -- and 2 for CRLF
...
...
src/pfcp/3gpp_29.244.hpp
View file @
0a6d081e
...
...
@@ -9271,6 +9271,11 @@ class pfcp_create_urr_ie : public pfcp_grouped_ie {
add_ie
(
sie
);
}
}
if
(
b
.
urr_id
.
first
&&
b
.
volume_threshold
.
first
)
{
std
::
shared_ptr
<
pfcp_volume_threshold_ie
>
sie
(
new
pfcp_volume_threshold_ie
(
b
.
volume_threshold
.
second
));
add_ie
(
sie
);
}
// ToDo: Optional IEs
}
pfcp_create_urr_ie
()
:
pfcp_grouped_ie
(
PFCP_IE_CREATE_URR
)
{}
...
...
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