aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-02-06 20:32:31 +0100
committerStefan Sperling <ssperling@sysmocom.de>2018-02-06 20:32:31 +0100
commitdb8e214f454baca137ecafbb9f3742d8fea3cb89 (patch)
tree436235abdf1922a47bec028f8c601cc05f4c235f
parent44714b9e2916db4f1cfc3dab1d2976dfcf71a7b3 (diff)
rename vty command
-rw-r--r--src/libbsc/bsc_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libbsc/bsc_vty.c b/src/libbsc/bsc_vty.c
index 141102138..b02ac2bbf 100644
--- a/src/libbsc/bsc_vty.c
+++ b/src/libbsc/bsc_vty.c
@@ -670,6 +670,7 @@ static void config_write_bts_single(struct vty *vty, struct gsm_bts *bts)
for (i = 0; i < 8; i++)
if ((i != 2) && (bts->si_common.rach_control.t2 & (0x1 << i)))
vty_out(vty, " rach access-control-class %d barred%s", i+8, VTY_NEWLINE);
+ vty_out(vty, " access-control-class-ramping %s%s", bts->acc_ramping_enabled ? "enabled" : "disabled", VTY_NEWLINE);
for (i = SYSINFO_TYPE_1; i < _MAX_SYSINFO_TYPE; i++) {
if (bts->si_mode_static & (1 << i)) {
vty_out(vty, " system-information %s mode static%s",
@@ -800,7 +801,6 @@ static void config_write_bts_single(struct vty *vty, struct gsm_bts *bts)
}
if (bts->pcu_sock_path)
vty_out(vty, " pcu-socket %s%s", bts->pcu_sock_path, VTY_NEWLINE);
- vty_out(vty, " acc-ramping %s%s", bts->acc_ramping_enabled ? "enabled" : "disabled", VTY_NEWLINE);
ho_vty_write(vty, " ", bts->ho);
@@ -3110,7 +3110,7 @@ DEFUN(cfg_bts_pcu_sock, cfg_bts_pcu_sock_cmd,
DEFUN(cfg_bts_acc_ramping,
cfg_bts_acc_ramping_cmd,
- "acc-ramping enabled (0|1)",
+ "access-control-class-ramping enabled (0|1)",
"Enable or disable Access Control Class ramping\n"
"Enable or disable Access Control Class ramping\n"
"Disable Access Control Class ramping\n" "Enable Access Control Class ramping\n")