diff options
Diffstat (limited to 'zebra/zebra_ptm.c')
-rw-r--r-- | zebra/zebra_ptm.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/zebra/zebra_ptm.c b/zebra/zebra_ptm.c index e49347638..9a7b029dd 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_out (vty, "ptm-enable%s", VTY_NEWLINE); + vty_outln (vty, "ptm-enable"); return; } @@ -1089,10 +1089,9 @@ zebra_ptm_show_status(struct vty *vty, struct interface *ifp) { vty_out (vty, " PTM status: "); if (ifp->ptm_enable) { - vty_out (vty, "%s%s", zebra_ptm_get_status_str (ifp->ptm_status), - VTY_NEWLINE); + vty_outln (vty, "%s",zebra_ptm_get_status_str(ifp->ptm_status)); } else { - vty_out (vty, "disabled%s", VTY_NEWLINE); + vty_outln (vty, "disabled"); } } @@ -1162,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_out (vty, " no ptm-enable%s", VTY_NEWLINE); + vty_outln (vty, " no ptm-enable"); } |