summaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-nitb/bsc_hack.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-01-09 17:03:27 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-04 14:45:48 +0100
commitf8c42191dea8a5ef938ccb6be0038275e736c3cb (patch)
tree73481fe6b527bff8e1575db12a3e76b5989f0225 /openbsc/src/osmo-nitb/bsc_hack.c
parent93de8b259104aa05387e302a4ee6fd6f330bfee7 (diff)
libbsc: Add ctrl command for MNC, MCC, short-name and long-name
Add the framework for adding more setting commands.
Diffstat (limited to 'openbsc/src/osmo-nitb/bsc_hack.c')
-rw-r--r--openbsc/src/osmo-nitb/bsc_hack.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index 96ae0b833..d746bf14e 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -290,6 +290,11 @@ int main(int argc, char **argv)
return -1;
}
+ if (bsc_base_ctrl_cmds_install() != 0) {
+ printf("Failed to initialize the control commands. Exiting.\n");
+ return -1;
+ }
+
/* seed the PRNG */
srand(time(NULL));