summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_zebra.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 /ospfd/ospf_zebra.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 'ospfd/ospf_zebra.c')
-rw-r--r--ospfd/ospf_zebra.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c
index 6bf8996e0..715f24061 100644
--- a/ospfd/ospf_zebra.c
+++ b/ospfd/ospf_zebra.c
@@ -1445,7 +1445,7 @@ ospf_distance_set (struct vty *vty, struct ospf *ospf,
ret = str2prefix_ipv4 (ip_str, &p);
if (ret == 0)
{
- vty_out (vty, "Malformed prefix%s", VTY_NEWLINE);
+ vty_outln (vty, "Malformed prefix");
return CMD_WARNING;
}
@@ -1493,14 +1493,14 @@ ospf_distance_unset (struct vty *vty, struct ospf *ospf,
ret = str2prefix_ipv4 (ip_str, &p);
if (ret == 0)
{
- vty_out (vty, "Malformed prefix%s", VTY_NEWLINE);
+ vty_outln (vty, "Malformed prefix");
return CMD_WARNING;
}
rn = route_node_lookup (ospf->distance_table, (struct prefix *) &p);
if (!rn)
{
- vty_out (vty, "Can't find specified prefix%s", VTY_NEWLINE);
+ vty_outln (vty, "Can't find specified prefix");
return CMD_WARNING;
}