aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
diff options
context:
space:
mode:
authorDaniel Willmann <daniel@totalueberwachung.de>2011-08-25 16:37:45 +0200
committerDaniel Willmann <daniel@totalueberwachung.de>2011-08-26 12:30:19 +0200
commitedd65a2575ccc9a95d4fe938ad2561d705f513e8 (patch)
tree6ae6377139b2484bca06d6b9987c553687e93729 /openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
parent774c62614aa1c033416b74b0ad7ec897bc58256d (diff)
libctrl, osmo-bsc: Get rid of net prefix
net is now implicit in the root node
Diffstat (limited to 'openbsc/src/osmo-bsc/osmo_bsc_ctrl.c')
-rw-r--r--openbsc/src/osmo-bsc/osmo_bsc_ctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
index 43d97e6c3..354aceecc 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c
@@ -67,7 +67,7 @@ static void generate_location_state_trap(struct gsm_bts *bts, struct bsc_msc_con
}
cmd->id = "0";
- cmd->variable = talloc_asprintf(cmd, "net.bts.%i.location-state", bts->nr);
+ cmd->variable = talloc_asprintf(cmd, "bts.%i.location-state", bts->nr);
/* Prepare the location reply */
cmd->node = bts;
@@ -297,7 +297,7 @@ int bsc_ctrl_cmds_install()
rc = ctrl_cmd_install(CTRL_NODE_BTS, &cmd_bts_loc);
if (rc)
goto end;
- rc = ctrl_cmd_install(CTRL_NODE_NET, &cmd_net_rf_lock);
+ rc = ctrl_cmd_install(CTRL_NODE_ROOT, &cmd_net_rf_lock);
if (rc)
goto end;
end: