From 4e3fdbc7381a4769655677b908e5c40540dc9aff Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Tue, 25 Sep 2018 20:54:30 +0200 Subject: lc15bts_mgr_vty: Ensure writing well-formed config files Every new node level should only add one additional space, not two! Change-Id: Ic890429a6ff1e0c89fe1c6a159c6ee6ecbcf9a5a --- src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c b/src/osmo-bts-litecell15/misc/lc15bts_mgr_vty.c index e1ddfc78..80751fb0 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); } -- cgit v1.2.3