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
82c68b3b
Commit
82c68b3b
authored
Dec 08, 2022
by
Tien Thinh NGUYEN
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issue for MNC/MCC conversion
parent
d8fd7795
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/common/utils/conversions.cpp
src/common/utils/conversions.cpp
+6
-1
No files found.
src/common/utils/conversions.cpp
View file @
82c68b3b
...
...
@@ -181,8 +181,13 @@ void conv::plmnToMccMnc(
}
}
else
{
m_mnc
=
plmn
.
mnc_digit3
*
100
+
plmn
.
mnc_digit1
*
10
+
plmn
.
mnc_digit2
;
mnc
=
std
::
to_string
(
m_mnc
);
if
((
plmn
.
mnc_digit2
==
0
)
and
(
plmn
.
mnc_digit1
==
0
))
{
mnc
=
"00"
+
mnc
;
}
else
if
(
plmn
.
mnc_digit1
==
0
)
{
mnc
=
"0"
+
mnc
;
}
}
mnc
=
std
::
to_string
(
m_mnc
);
return
;
}
...
...
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