aboutsummaryrefslogtreecommitdiffstats
path: root/src/libbsc/bsc_vty.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-02-12 16:48:45 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-02-16 16:11:16 +0100
commitdfd36da120b936c9e49df5a19fcd60fd89613946 (patch)
treee18c868441cf71f61fc10bd032e999bd4a68f70a /src/libbsc/bsc_vty.c
parenta60f344212855dc8c9b3efe8b6a8ccdb3045e5ee (diff)
HO: cfg: tweak vty write
Have expicitly named vty write functions for bts and net levels, so that it is trivial to add commands that exist only on one of each (like the upcoming congestion check timer config for hodec2). Change-Id: Ibea4c20abc50c3d655f6bbb1a643477dfc722c8e
Diffstat (limited to 'src/libbsc/bsc_vty.c')
-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 f5f77dd90..d65632237 100644
--- a/src/libbsc/bsc_vty.c
+++ b/src/libbsc/bsc_vty.c
@@ -822,7 +822,7 @@ 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);
- ho_vty_write(vty, " ", bts->ho);
+ ho_vty_write_bts(vty, bts);
config_write_bts_model(vty, bts);
}
@@ -854,7 +854,7 @@ static int config_write_net(struct vty *vty)
vty_out(vty, " neci %u%s", gsmnet->neci, VTY_NEWLINE);
vty_out(vty, " paging any use tch %d%s", gsmnet->pag_any_tch, VTY_NEWLINE);
- ho_vty_write(vty, " ", gsmnet->ho);
+ ho_vty_write_net(vty, gsmnet);
VTY_OUT_TIMER(3101);
VTY_OUT_TIMER(3103);