summaryrefslogtreecommitdiffstats
path: root/babeld
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2017-07-13 19:50:33 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2017-07-14 10:20:03 +0200
commitcdda2010369cdcc2ffce5cb70ea112a13aacd9c3 (patch)
tree78ff66b8290ef86a49a8f22ba1db49f8a9d90d85 /babeld
parent*: remove VTYNL, part 4 of 6 (diff)
downloadfrr-cdda2010369cdcc2ffce5cb70ea112a13aacd9c3.tar.xz
frr-cdda2010369cdcc2ffce5cb70ea112a13aacd9c3.zip
*: remove VTYNL, part 5 of 6
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
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);
}