summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-27 21:29:40 +0100
committerHarald Welte (local) <laflocal@hanuman.gnumonks.org>2009-12-27 21:29:40 +0100
commitd40594b364a580b958c3412a775eaaf92beaba4e (patch)
treeb75d3dc2ae8f94608199c1bdd30a986f2ec9201b
parente38dddc78a152765c52672e2c115c4a92ba92e3f (diff)
26C3 GURU sync: make sure we support IMEIs that start with a 0
-rwxr-xr-xopenbsc/tools/26c3-guru-import.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/tools/26c3-guru-import.py b/openbsc/tools/26c3-guru-import.py
index a1564d5d2..11604f0c2 100755
--- a/openbsc/tools/26c3-guru-import.py
+++ b/openbsc/tools/26c3-guru-import.py
@@ -56,7 +56,7 @@ for x in web_tuple:
# Not an IMSI
if len(subscr) == 0:
equip = hlr.execute("""
- SELECT id,imei FROM Equipment WHERE imei LIKE "%014u%%"
+ SELECT id,imei FROM Equipment WHERE imei LIKE "%u%%"
""" % (imxi/10) ).fetchall();
#print equip