summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_ptm.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_ptm.c')
-rw-r--r--zebra/zebra_ptm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/zebra_ptm.c b/zebra/zebra_ptm.c
index 9a7b029dd..39779793f 100644
--- a/zebra/zebra_ptm.c
+++ b/zebra/zebra_ptm.c
@@ -374,7 +374,7 @@ void
zebra_ptm_write (struct vty *vty)
{
if (ptm_cb.ptm_enable)
- vty_outln (vty, "ptm-enable");
+ vty_out (vty, "ptm-enable\n");
return;
}
@@ -1089,9 +1089,9 @@ zebra_ptm_show_status(struct vty *vty, struct interface *ifp)
{
vty_out (vty, " PTM status: ");
if (ifp->ptm_enable) {
- vty_outln (vty, "%s",zebra_ptm_get_status_str(ifp->ptm_status));
+ vty_out (vty, "%s\n",zebra_ptm_get_status_str(ifp->ptm_status));
} else {
- vty_outln (vty, "disabled");
+ vty_out (vty, "disabled\n");
}
}
@@ -1161,5 +1161,5 @@ void
zebra_ptm_if_write (struct vty *vty, struct zebra_if *zebra_ifp)
{
if (zebra_ifp->ptm_enable == ZEBRA_IF_PTM_ENABLE_OFF)
- vty_outln (vty, " no ptm-enable");
+ vty_out (vty, " no ptm-enable\n");
}