summaryrefslogtreecommitdiffstats
path: root/pimd/pim_bfd.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-21 05:10:57 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-29 19:31:28 +0200
commit96ade3ed7716c89b8047a1c0ab3377985d461cf8 (patch)
tree1c3061738c2c0027612b6cdb3e5d5eccb08587bf /pimd/pim_bfd.c
parentlib: add vty_outln() (diff)
downloadfrr-96ade3ed7716c89b8047a1c0ab3377985d461cf8.tar.xz
frr-96ade3ed7716c89b8047a1c0ab3377985d461cf8.zip
*: use vty_outln
Saves 400 lines Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_bfd.c')
-rw-r--r--pimd/pim_bfd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_bfd.c b/pimd/pim_bfd.c
index 938e35e81..2a90eea3b 100644
--- a/pimd/pim_bfd.c
+++ b/pimd/pim_bfd.c
@@ -52,11 +52,11 @@ pim_bfd_write_config (struct vty *vty, struct interface *ifp)
return;
if (CHECK_FLAG (bfd_info->flags, BFD_FLAG_PARAM_CFG))
- vty_out (vty, " ip pim bfd %d %d %d%s",
+ vty_outln (vty, " ip pim bfd %d %d %d",
bfd_info->detect_mult, bfd_info->required_min_rx,
- bfd_info->desired_min_tx, VTY_NEWLINE);
+ bfd_info->desired_min_tx);
else
- vty_out (vty, " ip pim bfd%s", VTY_NEWLINE);
+ vty_outln (vty, " ip pim bfd");
}
/*