aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/gsm_data.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-01-07 03:17:01 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-01-07 03:17:01 +0100
commit2aa0b45cc03ab8c91fabdaf585cb8b17c3f26c2c (patch)
tree75ded078559c30c3152d0c25d052737a15352ff6 /openbsc/src/gsm_data.c
parent619df61ad27093a4a0305b7af9a8e36719a6d474 (diff)
[bssap] Allow to use a different country code too
* Be able to have a country code in the air but use a different country code when talking to the core network. * Now both country and network code can be different on air and on the MSC communication.
Diffstat (limited to 'openbsc/src/gsm_data.c')
-rw-r--r--openbsc/src/gsm_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/gsm_data.c b/openbsc/src/gsm_data.c
index 43bf92b32..18a3ac2c2 100644
--- a/openbsc/src/gsm_data.c
+++ b/openbsc/src/gsm_data.c
@@ -224,6 +224,7 @@ struct gsm_network *gsm_network_init(u_int16_t country_code, u_int16_t network_c
net->mncc_recv = mncc_recv;
+ net->core_country_code = -1;
net->core_network_code = -1;
return net;