Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-AMF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
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-AMF
Commits
e609ffb0
Commit
e609ffb0
authored
Jan 07, 2022
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tentative fix for MCC with 00
parent
a800f831
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/ngap/ngapIEs/PlmnId.cpp
src/ngap/ngapIEs/PlmnId.cpp
+5
-0
No files found.
src/ngap/ngapIEs/PlmnId.cpp
View file @
e609ffb0
...
...
@@ -74,6 +74,11 @@ void PlmnId::setMccMnc(const std::string mcc, const std::string mnc) {
void
PlmnId
::
getMcc
(
std
::
string
&
mcc
)
{
int
m_mcc
=
mcc_digit1
*
100
+
mcc_digit2
*
10
+
mcc_digit3
;
mcc
=
to_string
(
m_mcc
);
if
((
mcc_digit2
==
0
)
and
(
mcc_digit1
==
0
))
{
mcc
=
"00"
+
mcc
;
}
else
if
(
mcc_digit1
==
0
)
{
mcc
=
"0"
+
mcc
;
}
}
//------------------------------------------------------------------------------
...
...
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