aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/src/db.c')
-rw-r--r--openbsc/src/db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/db.c b/openbsc/src/db.c
index 9ad39d3da..e24b619c6 100644
--- a/openbsc/src/db.c
+++ b/openbsc/src/db.c
@@ -224,6 +224,7 @@ struct gsm_subscriber* db_create_subscriber(struct gsm_network *net, char *imsi)
}
subscr = subscr_alloc();
+ subscr->flags |= GSM_SUBSCRIBER_FIRST_CONTACT;
if (!subscr)
return NULL;
result = dbi_conn_queryf(conn,