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-Simple
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
CommunityXG
OpenXG-SMF-Simple
Commits
a44e42db
Commit
a44e42db
authored
Mar 07, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue with boost::iequals
parent
93c5d1e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
src/smf_app/smf_config.cpp
src/smf_app/smf_config.cpp
+5
-5
No files found.
src/smf_app/smf_config.cpp
View file @
a44e42db
...
@@ -437,19 +437,19 @@ int smf_config::load(const string& config_file) {
...
@@ -437,19 +437,19 @@ int smf_config::load(const string& config_file) {
if
(
boost
::
iequals
(
astring
,
"IPv4"
))
{
if
(
boost
::
iequals
(
astring
,
"IPv4"
))
{
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
PDU_SESSION_TYPE_E_IPV4
;
PDU_SESSION_TYPE_E_IPV4
;
}
else
if
(
boost
::
iequals
(
astring
,
"IPv6"
)
==
0
)
{
}
else
if
(
boost
::
iequals
(
astring
,
"IPv6"
))
{
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
PDU_SESSION_TYPE_E_IPV6
;
PDU_SESSION_TYPE_E_IPV6
;
}
else
if
(
boost
::
iequals
(
astring
,
"IPv4
IPv6"
)
==
0
)
{
}
else
if
(
boost
::
iequals
(
astring
,
"IPv4
v6"
)
)
{
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
PDU_SESSION_TYPE_E_IPV4V6
;
PDU_SESSION_TYPE_E_IPV4V6
;
}
else
if
(
boost
::
iequals
(
astring
,
"Unstructured"
)
==
0
)
{
}
else
if
(
boost
::
iequals
(
astring
,
"Unstructured"
))
{
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
PDU_SESSION_TYPE_E_UNSTRUCTURED
;
PDU_SESSION_TYPE_E_UNSTRUCTURED
;
}
else
if
(
boost
::
iequals
(
astring
,
"Ethernet"
)
==
0
)
{
}
else
if
(
boost
::
iequals
(
astring
,
"Ethernet"
))
{
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
PDU_SESSION_TYPE_E_ETHERNET
;
PDU_SESSION_TYPE_E_ETHERNET
;
}
else
if
(
boost
::
iequals
(
astring
,
"Reserved"
)
==
0
)
{
}
else
if
(
boost
::
iequals
(
astring
,
"Reserved"
))
{
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
dnn
[
dnn_idx
].
pdu_session_type
.
pdu_session_type
=
PDU_SESSION_TYPE_E_RESERVED
;
PDU_SESSION_TYPE_E_RESERVED
;
}
else
{
}
else
{
...
...
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