aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-09-25 20:54:30 +0200
committerHarald Welte <laforge@gnumonks.org>2018-09-25 20:55:07 +0200
commit4e3fdbc7381a4769655677b908e5c40540dc9aff (patch)
treef114b9308a97af98bbca0e0110e17e55749d9d50 /src/osmo-bts-litecell15
parent73dd4ff027229059e324ed8d9cbdf60295fcd631 (diff)
lc15bts_mgr_vty: Ensure writing well-formed config files
Every new node level should only add one additional space, not two! Change-Id: Ic890429a6ff1e0c89fe1c6a159c6ee6ecbcf9a5a
Diffstat (limited to 'src/osmo-bts-litecell15')
-rw-r--r--src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
index e1ddfc7..80751fb 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c
@@ -251,9 +251,9 @@ static void write_volt_limit(struct vty *vty, const char *name,
struct lc15bts_volt_limit *limit)
{
vty_out(vty, " %s%s", name, VTY_NEWLINE);
- vty_out(vty, " threshold warning min %d%s",
+ vty_out(vty, " threshold warning min %d%s",
limit->thresh_warn_min, VTY_NEWLINE);
- vty_out(vty, " threshold critical min %d%s",
+ vty_out(vty, " threshold critical min %d%s",
limit->thresh_crit_min, VTY_NEWLINE);
}
@@ -261,7 +261,7 @@ static void write_vswr_limit(struct vty *vty, const char *name,
struct lc15bts_vswr_limit *limit)
{
vty_out(vty, " %s%s", name, VTY_NEWLINE);
- vty_out(vty, " threshold warning max %d%s",
+ vty_out(vty, " threshold warning max %d%s",
limit->thresh_warn_max, VTY_NEWLINE);
}
@@ -269,9 +269,9 @@ static void write_pwr_limit(struct vty *vty, const char *name,
struct lc15bts_pwr_limit *limit)
{
vty_out(vty, " %s%s", name, VTY_NEWLINE);
- vty_out(vty, " threshold warning max %d%s",
+ vty_out(vty, " threshold warning max %d%s",
limit->thresh_warn_max, VTY_NEWLINE);
- vty_out(vty, " threshold critical max %d%s",
+ vty_out(vty, " threshold critical max %d%s",
limit->thresh_crit_max, VTY_NEWLINE);
}