Skip to content

Commit 7181ea8

Browse files
committed
changed pdn type to IPv4
1 parent 6ad65d4 commit 7181ea8

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

corenet.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
#!/usr/bin/python
22
# -*- coding: UTF-8 -*-
33
#/**
4-
# * Software Name : corenet
4+
# * Software Name : corenet
55
# * Version : 0.1.0
66
# *
77
# * Copyright © 2015. Benoit Michau. ANSSI.
88
# *
99
# * This program is free software: you can redistribute it and/or modify
1010
# * it under the terms of the GNU General Public License version 2 as published
11-
# * by the Free Software Foundation.
11+
# * by the Free Software Foundation.
1212
# *
1313
# * This program is distributed in the hope that it will be useful,
1414
# * but WITHOUT ANY WARRANTY; without even the implied warranty of
1515
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16-
# * GNU General Public License for more details.
16+
# * GNU General Public License for more details.
1717
# *
1818
# * You will find a copy of the terms and conditions of the GNU General Public
1919
# * License version 2 in the "license.txt" file or
@@ -23,7 +23,7 @@
2323
# *--------------------------------------------------------
2424
# * File Name : corenet.py
2525
# * Created : 2015-09-05
26-
# * Authors : Benoit Michau
26+
# * Authors : Benoit Michau
2727
# *--------------------------------------------------------
2828
#*/
2929

@@ -147,7 +147,7 @@ def main():
147147
'PreemptVuln': 'not-pre-emptable', # 'pre-emptable' (S1 parameter)
148148
},
149149
'default': {
150-
'IP':[3, '0.0.0.0'], # PDN type (1:IPv4, 2:IPv6, 3:IPv4v6), UE IP@ will be set at runtime
150+
'IP':[1, '0.0.0.0'], # PDN type (1:IPv4, 2:IPv6, 3:IPv4v6), UE IP@ will be set at runtime
151151
'DNS':['192.168.1.40', '8.8.8.8'], # 2 IP@ for DNS servers
152152
'QCI': 9, # QoS class id (9: internet browsing), NAS + S1 parameter
153153
'PriorityLevel': 15, # no priority (S1 parameter)
@@ -206,7 +206,7 @@ def stop():
206206
'MME-initiated procedures:\n' \
207207
'\tIdentification, GUTIReallocation, Authentication, ' \
208208
'SecurityModeControl, EMMInformation, MMEDetach'
209-
209+
210210
# configure IPython kernel namespace
211211
_ipy_ns = {}
212212
_ipy_ns['GLOBAL'] = GLOBAL
@@ -227,7 +227,7 @@ def stop():
227227
_ipy_ns['SecurityModeControl'] = SecurityModeControl
228228
_ipy_ns['EMMInformation'] = EMMInformation
229229
_ipy_ns['MMEDetach'] = MMEDetach
230-
230+
231231
# interactive epc session
232232
ipshell = InteractiveShellEmbed(user_ns=_ipy_ns, \
233233
banner1=_ipy_banner, \

0 commit comments

Comments
 (0)