From b59f450314140968e57f5a6bbbf7e6128fff3d6e Mon Sep 17 00:00:00 2001 From: Daniel Willmann Date: Thu, 25 Aug 2011 16:37:45 +0200 Subject: libctrl, osmo-bsc: Get rid of net prefix net is now implicit in the root node --- openbsc/src/osmo-bsc/osmo_bsc_ctrl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openbsc/src/osmo-bsc') diff --git a/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c b/openbsc/src/osmo-bsc/osmo_bsc_ctrl.c index 45b8e3323..d6ff9269c 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; @@ -318,7 +318,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: -- cgit v1.2.3