aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc
diff options
context:
space:
mode:
authorIvan Kluchnikov <kluchnikovi@gmail.com>2015-10-24 12:20:17 +0300
committerIvan Kluchnikov <kluchnikovi@gmail.com>2015-10-24 13:59:16 +0300
commit3e374dbbb4474a3429fac102baf8446f4ac5f13b (patch)
tree7eb164224e8a0a0cb95e25f5fc0fb020536118be /openbsc/src/libbsc
parent2a01e0411ad817e21e805d6e29696b111cbfa4a9 (diff)
subscr: Add new configuration parameter "subscriber-create-only-local"
This mode allows to create a new record only for a subscriber from our network. IMSI and MNC, MCC are used for checking that subscriber belongs to our network.
Diffstat (limited to 'openbsc/src/libbsc')
-rw-r--r--openbsc/src/libbsc/net_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/net_init.c b/openbsc/src/libbsc/net_init.c
index 16e8146a7..64955a9c3 100644
--- a/openbsc/src/libbsc/net_init.c
+++ b/openbsc/src/libbsc/net_init.c
@@ -49,6 +49,7 @@ struct gsm_network *gsm_network_init(uint16_t country_code, uint16_t network_cod
net->subscr_group->net = net;
net->create_subscriber = 1;
+ net->create_only_local_subscriber = 0;
net->exten_prefix = 0;
net->country_code = country_code;