aboutsummaryrefslogtreecommitdiffstats
path: root/src/mgcp_ss7.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-10-27 19:32:53 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-10-27 19:33:06 +0200
commited3046339e141938cd0eb3a45e7ab91e518675ac (patch)
tree83c8e0e0f7ac7b3f883b44e71cd2ad2d8f1cc731 /src/mgcp_ss7.c
parentd25dfce4f55b909526e76f878bd5445a5db319fe (diff)
mgcp: Print the extra settings from the config
Diffstat (limited to 'src/mgcp_ss7.c')
-rw-r--r--src/mgcp_ss7.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mgcp_ss7.c b/src/mgcp_ss7.c
index e0e61e3..cbc3247 100644
--- a/src/mgcp_ss7.c
+++ b/src/mgcp_ss7.c
@@ -847,6 +847,12 @@ DEFUN(cfg_mgcp_realloc, cfg_mgcp_realloc_cmd,
return CMD_SUCCESS;
}
+void mgcp_write_extra(struct vty *vty)
+{
+ vty_out(vty, " force-realloc %d%s", g_cfg->force_realloc, VTY_NEWLINE);
+ vty_out(vty, " vad %s%s", s_vad_enabled ? "enabled" : "disabled", VTY_NEWLINE);
+}
+
static void mgcp_mgw_vty_init(void)
{
cmd_init(1);