X-Git-Url: http://git.rot13.org/?p=osmocom-bb.git;a=blobdiff_plain;f=src%2Fhost%2Flayer23%2Fsrc%2Fmobile%2Fapp_mobile.c;h=164f3edb11371e4579691e0c7d7ecd718c425dc6;hp=d68b724d646afacc5e1cbaee910227e7346cc866;hb=cc10636f91dbd514ffe712325e10b7c1509678f3;hpb=af06f002191cf988e8a606f9b7d1711b8d56ff8d diff --git a/src/host/layer23/src/mobile/app_mobile.c b/src/host/layer23/src/mobile/app_mobile.c index d68b724..164f3ed 100644 --- a/src/host/layer23/src/mobile/app_mobile.c +++ b/src/host/layer23/src/mobile/app_mobile.c @@ -203,6 +203,13 @@ int mobile_init(struct osmocom_ms *ms) ms->shutdown = 0; ms->started = 0; + if (!strcmp(ms->settings.imei, "000000000000000")) { + printf("***\nWarning: Mobile '%s' has default IMEI: %s\n", + ms->name, ms->settings.imei); + printf("This could relate your identitiy to other users with " + "default IMEI.\n***\n"); + } + l1ctl_tx_reset_req(ms, L1CTL_RES_T_FULL); printf("Mobile '%s' initialized, please start phone now!\n", ms->name); return 0;