Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
UERANSIM
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
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
Libraries
UERANSIM
Commits
e4e4a156
Commit
e4e4a156
authored
Aug 11, 2021
by
Ali Güngör
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IMSI length fixed
parent
f5222512
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
config/custom-ue.yaml
config/custom-ue.yaml
+1
-1
config/free5gc-ue.yaml
config/free5gc-ue.yaml
+1
-1
config/open5gs-ue.yaml
config/open5gs-ue.yaml
+1
-1
src/utils/common_types.cpp
src/utils/common_types.cpp
+1
-1
No files found.
config/custom-ue.yaml
View file @
e4e4a156
# IMSI number of the UE. IMSI = [MCC|MNC|MSISDN] (In total 15
or 16
digits)
# IMSI number of the UE. IMSI = [MCC|MNC|MSISDN] (In total 15 digits)
supi
:
'
imsi-286010000000001'
# Mobile Country Code value of HPLMN
mcc
:
'
286'
...
...
config/free5gc-ue.yaml
View file @
e4e4a156
# IMSI number of the UE. IMSI = [MCC|MNC|MSISDN] (In total 15
or 16
digits)
# IMSI number of the UE. IMSI = [MCC|MNC|MSISDN] (In total 15 digits)
supi
:
'
imsi-208930000000003'
# Mobile Country Code value of HPLMN
mcc
:
'
208'
...
...
config/open5gs-ue.yaml
View file @
e4e4a156
# IMSI number of the UE. IMSI = [MCC|MNC|MSISDN] (In total 15
or 16
digits)
# IMSI number of the UE. IMSI = [MCC|MNC|MSISDN] (In total 15 digits)
supi
:
'
imsi-901700000000001'
# Mobile Country Code value of HPLMN
mcc
:
'
901'
...
...
src/utils/common_types.cpp
View file @
e4e4a156
...
...
@@ -19,7 +19,7 @@ Supi Supi::Parse(const std::string &supi)
if
(
supi
[
0
]
==
'i'
&&
supi
[
1
]
==
'm'
&&
supi
[
2
]
==
's'
&&
supi
[
3
]
==
'i'
&&
supi
[
4
]
==
'-'
)
{
std
::
string
val
=
supi
.
substr
(
5
);
if
(
val
.
size
()
!=
15
&&
val
.
size
()
!=
16
)
if
(
val
.
size
()
!=
15
)
throw
std
::
runtime_error
(
"invalid IMSI value"
);
for
(
char
c
:
val
)
if
(
c
<
'0'
||
c
>
'9'
)
...
...
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