summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
Diffstat (limited to 'babeld')
-rw-r--r--babeld/babel_main.c29
1 files changed, 13 insertions, 16 deletions
diff --git a/babeld/babel_main.c b/babeld/babel_main.c
index 725b2b432..517489f15 100644
--- a/babeld/babel_main.c
+++ b/babeld/babel_main.c
@@ -378,24 +378,21 @@ void
show_babel_main_configuration (struct vty *vty)
{
vty_out (vty,
- "state file = %s%s"
- "configuration file = %s%s"
- "protocol informations:%s"
- " multicast address = %s%s"
- " port = %d%s"
- "vty address = %s%s"
- "vty port = %d%s"
- "id = %s%s"
+ "state file = %s\n"
+ "configuration file = %s\n"
+ "protocol informations:\n"
+ " multicast address = %s\n"
+ " port = %d\n"
+ "vty address = %s\n"
+ "vty port = %d\n"
+ "id = %s\n"
"kernel_metric = %d\n",
- state_file, VTYNL,
+ state_file,
babel_config_file ? babel_config_file : babel_config_default,
- VTYNL,
- VTYNL,
- format_address(protocol_group), VTYNL,
- protocol_port, VTYNL,
+ format_address(protocol_group),
+ protocol_port,
babel_vty_addr ? babel_vty_addr : "None",
- VTYNL,
- babel_vty_port, VTYNL,
- format_eui64(myid), VTYNL,
+ babel_vty_port,
+ format_eui64(myid),
kernel_metric);
}