aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-09-14 22:16:47 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-09-18 12:38:05 +0000
commit9c14390728784d62775fe94c8bb87c46d9105052 (patch)
tree87cb2ed8277566895014199a21612d9c261fcf22
parentc2e7bf3eec72b77beaca7d611f595cadf3fd3e77 (diff)
mgcp: Fix the indention of the trunk/vtrunk extra items
Use two spaces for the config items on the level of the TRUNK/VTRUNK node to follow the normal items.
-rw-r--r--src/mgcp_ss7_vty.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/mgcp_ss7_vty.c b/src/mgcp_ss7_vty.c
index 19c57c1..5395594 100644
--- a/src/mgcp_ss7_vty.c
+++ b/src/mgcp_ss7_vty.c
@@ -250,35 +250,35 @@ static void write_blocked_endpoints(struct vty *vty,
if (!tcfg->endpoints[i].blocked)
continue;
- vty_out(vty, "block-endpoint %d%s", i, VTY_NEWLINE);
+ vty_out(vty, " block-endpoint %d%s", i, VTY_NEWLINE);
}
}
void write_trunk_extra(struct vty *vty, struct mgcp_trunk_config *trunk)
{
- vty_out(vty, " force-realloc %d%s",
+ vty_out(vty, " force-realloc %d%s",
trunk->force_realloc, VTY_NEWLINE);
- vty_out(vty, " vad %s%s",
+ vty_out(vty, " vad %s%s",
trunk->vad_enabled ? "enabled" : "disabled", VTY_NEWLINE);
- vty_out(vty, " input-digital-gain %d%s",
+ vty_out(vty, " input-digital-gain %d%s",
trunk->digital_inp_gain, VTY_NEWLINE);
- vty_out(vty, " output-digital-gain %d%s",
+ vty_out(vty, " output-digital-gain %d%s",
trunk->digital_out_gain, VTY_NEWLINE);
- vty_out(vty, " upstream-automatic-gain %d%s",
+ vty_out(vty, " upstream-automatic-gain %d%s",
trunk->upstr_agc_enbl, VTY_NEWLINE);
- vty_out(vty, " upstream-adaptation-rate %d%s",
+ vty_out(vty, " upstream-adaptation-rate %d%s",
trunk->upstr_adp_rate, VTY_NEWLINE);
- vty_out(vty, " upstream-max-applied-gain %d%s",
+ vty_out(vty, " upstream-max-applied-gain %d%s",
trunk->upstr_max_gain, VTY_NEWLINE);
- vty_out(vty, " upstream-target-level %d%s",
+ vty_out(vty, " upstream-target-level %d%s",
trunk->upstr_target_lvl, VTY_NEWLINE);
- vty_out(vty, " downstream-automatic-gain %d%s",
+ vty_out(vty, " downstream-automatic-gain %d%s",
trunk->dwnstr_agc_enbl, VTY_NEWLINE);
- vty_out(vty, " downstream-adaptation-rate %d%s",
+ vty_out(vty, " downstream-adaptation-rate %d%s",
trunk->dwnstr_adp_rate, VTY_NEWLINE);
- vty_out(vty, " downstream-max-applied-gain %d%s",
+ vty_out(vty, " downstream-max-applied-gain %d%s",
trunk->dwnstr_max_gain, VTY_NEWLINE);
- vty_out(vty, " downstream-target-level %d%s",
+ vty_out(vty, " downstream-target-level %d%s",
trunk->dwnstr_target_lvl, VTY_NEWLINE);
write_blocked_endpoints(vty, trunk);
}
@@ -290,7 +290,7 @@ void mgcp_write_trunk_extra(struct vty *vty, struct mgcp_trunk_config *trunk)
void mgcp_write_vtrunk_extra(struct vty *vty, struct mgcp_trunk_config *trunk)
{
- vty_out(vty, " target-trunk-start %d%s",
+ vty_out(vty, " target-trunk-start %d%s",
trunk->target_trunk_start, VTY_NEWLINE);
write_trunk_extra(vty, trunk);
}