srsepc.conf.tmpl: zero-pad mnc and mcc in config
srsEPC expect zero-padding MNC/MCC in config file. However, 001 and mcc will end up as 1 in the rendered template. Therefore, they need to be formatted correctly. Change-Id: Ie63cd1b15b961e493a6dcbd7e5a4fbabe0bb6f33
This commit is contained in:
parent
b92e2d1c99
commit
1dddb7b264
|
@ -24,8 +24,8 @@
|
|||
mme_code = 0x1a
|
||||
mme_group = 0x0001
|
||||
tac = 0x0007
|
||||
mcc = ${epc.mcc}
|
||||
mnc = ${epc.mnc}
|
||||
mcc = ${'{0:03}'.format(int(epc.mcc))}
|
||||
mnc = ${'{0:02}'.format(int(epc.mnc))}
|
||||
mme_bind_addr = ${epc.run_addr}
|
||||
apn = srsapn
|
||||
dns_addr = 8.8.8.8
|
||||
|
|
Loading…
Reference in New Issue