lua: make a 15 digit IMEI

This commit is contained in:
Tobias Mueller 2023-10-18 20:58:05 +02:00
parent 1cd1125cfe
commit a3fff24042

View File

@ -45,7 +45,7 @@ function make_imei (premei)
end
function make_random_imei ()
local nDigits = 13
local nDigits = 14
local premei = ""
for count = 0, nDigits-1 do
premei = premei .. tostring (math.random (0, 9))