From 49b83d8f67183276e616a2c081497bc06a55716d Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Mon, 29 Feb 2016 09:40:22 +0100 Subject: minor comment --- openbsc/src/osmo-bsc/osmo_bsc_filter.c | 1 + 1 file changed, 1 insertion(+) (limited to 'openbsc') diff --git a/openbsc/src/osmo-bsc/osmo_bsc_filter.c b/openbsc/src/osmo-bsc/osmo_bsc_filter.c index f58034702..389a124fd 100644 --- a/openbsc/src/osmo-bsc/osmo_bsc_filter.c +++ b/openbsc/src/osmo-bsc/osmo_bsc_filter.c @@ -354,6 +354,7 @@ int bsc_scan_msc_msg(struct gsm_subscriber_connection *conn, struct msgb *msg) if (mtype == GSM48_MT_MM_LOC_UPD_ACCEPT) { if (has_core_identity(msc)) { if (msgb_l3len(msg) >= sizeof(*gh) + sizeof(*lai)) { + /* overwrite LAI in the message */ lai = (struct gsm48_loc_area_id *) &gh->data[0]; gsm48_generate_lai(lai, net->country_code, net->network_code, -- cgit v1.2.3