aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-nitb
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-23 12:06:36 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-23 14:05:49 +0100
commit9dbc3f8db7ca2c95ad6b986cdc4cd6c7a602a8b4 (patch)
treec8be2ecaafb259acc7b2808b0e9946f855cc5b14 /openbsc/src/osmo-nitb
parentd092f486486db4b2cb2cdc018ad3948d48a26827 (diff)
nitb/ctrl: Add command to add/modify a subscriber to the database
The test has been manually verified. Executing the select for the subscribers showed: sqlite> select * from Subscriber; 1|2014-03-23 12:12:46|2014-03-23 12:19:09|2620345||445567|1||0| This created a subscriber with the right IMSI, MSISDN and has it authorized. Fixes: SYS#275
Diffstat (limited to 'openbsc/src/osmo-nitb')
-rw-r--r--openbsc/src/osmo-nitb/bsc_hack.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index 67c65ce61..c78e3ec81 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -291,7 +291,12 @@ int main(int argc, char **argv)
}
if (bsc_base_ctrl_cmds_install() != 0) {
- printf("Failed to initialize the control commands. Exiting.\n");
+ printf("Failed to initialize the BSC control commands.\n");
+ return -1;
+ }
+
+ if (msc_ctrl_cmds_install() != 0) {
+ printf("Failed to initialize the MSC control commands.\n");
return -1;
}