summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_area.c
diff options
context:
space:
mode:
Diffstat (limited to 'ospf6d/ospf6_area.c')
-rw-r--r--ospf6d/ospf6_area.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/ospf6d/ospf6_area.c b/ospf6d/ospf6_area.c
index a4996018ac..826a66ccc6 100644
--- a/ospf6d/ospf6_area.c
+++ b/ospf6d/ospf6_area.c
@@ -396,18 +396,18 @@ ospf6_area_show (struct vty *vty, struct ospf6_area *oa)
result = monotime_since(&oa->ts_spf, NULL);
if (result/TIMER_SECOND_MICRO > 0)
{
- vty_out (vty, "SPF last executed %ld.%lds ago%s",
+ vty_outln (vty, "SPF last executed %ld.%lds ago",
result/TIMER_SECOND_MICRO,
- result%TIMER_SECOND_MICRO, VTY_NEWLINE);
+ result % TIMER_SECOND_MICRO);
}
else
{
- vty_out (vty, "SPF last executed %ldus ago%s",
- result, VTY_NEWLINE);
+ vty_outln (vty, "SPF last executed %ldus ago",
+ result);
}
}
else
- vty_out (vty, "SPF has not been run%s", VTY_NEWLINE);
+ vty_outln (vty, "SPF has not been run");
}
@@ -968,8 +968,7 @@ DEFUN (ospf6_area_stub,
if (!ospf6_area_stub_set (ospf6, area))
{
- vty_out (vty, "First deconfigure all virtual link through this area%s",
- VTY_NEWLINE);
+ vty_outln (vty,"First deconfigure all virtual link through this area");
return CMD_WARNING;
}
@@ -994,8 +993,7 @@ DEFUN (ospf6_area_stub_no_summary,
if (!ospf6_area_stub_set (ospf6, area))
{
- vty_out (vty, "First deconfigure all virtual link through this area%s",
- VTY_NEWLINE);
+ vty_outln (vty,"First deconfigure all virtual link through this area");
return CMD_WARNING;
}