diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2013-01-09 19:52:14 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-03-06 23:02:43 +0100 |
commit | 9887155df454b87e58e06fe55a6f259db5c451ce (patch) | |
tree | a1e78361d82aeb508e5e26c0103f688b88c7fdcc /openbsc/src/libbsc | |
parent | 253bf2fdb73218aef1e86436146146049ce63d55 (diff) |
nitb: Add ctrl command to set the BTS description
Diffstat (limited to 'openbsc/src/libbsc')
-rw-r--r-- | openbsc/src/libbsc/bsc_ctrl_commands.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openbsc/src/libbsc/bsc_ctrl_commands.c b/openbsc/src/libbsc/bsc_ctrl_commands.c index 53693300f..cb2b98365 100644 --- a/openbsc/src/libbsc/bsc_ctrl_commands.c +++ b/openbsc/src/libbsc/bsc_ctrl_commands.c @@ -198,6 +198,9 @@ oom: } CTRL_CMD_DEFINE(net_mcc_mnc_apply, "mcc-mnc-apply"); +/* BTS related commands below here */ +CTRL_CMD_VTY_STRING(bts_description, "description", struct gsm_bts, description); + int bsc_base_ctrl_cmds_install(void) { int rc = 0; @@ -221,5 +224,7 @@ int bsc_base_ctrl_cmds_install(void) rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_timer_t3122); rc |= ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_timer_t3141); + rc |= ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_description); + return rc; } |