summaryrefslogtreecommitdiffstats
path: root/ldpd/ldp_vty_exec.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-21 20:10:29 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-29 19:34:56 +0200
commite31b6333f4def619b6471d67bb901f7893a83193 (patch)
tree7d07cbd86fb8e6eeae363a3ea30e215de175ef0e /ldpd/ldp_vty_exec.c
parent*: s/VTY_NEWLINE/VTYNL/g (diff)
downloadfrr-e31b6333f4def619b6471d67bb901f7893a83193.tar.xz
frr-e31b6333f4def619b6471d67bb901f7893a83193.zip
*: vty_outln (vty, "") --> vty_out (vty, VTYNL)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ldpd/ldp_vty_exec.c')
-rw-r--r--ldpd/ldp_vty_exec.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ldpd/ldp_vty_exec.c b/ldpd/ldp_vty_exec.c
index ba1f4891e..c95606702 100644
--- a/ldpd/ldp_vty_exec.c
+++ b/ldpd/ldp_vty_exec.c
@@ -135,7 +135,7 @@ show_interface_msg(struct vty *vty, struct imsg *imsg,
iface->adj_cnt);
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
@@ -217,7 +217,7 @@ show_discovery_msg(struct vty *vty, struct imsg *imsg,
vty_outln (vty, "%9u", adj->holdtime);
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
@@ -326,7 +326,7 @@ show_discovery_detail_msg(struct vty *vty, struct imsg *imsg,
vty_out(vty, "%s", ifaces_buffer);
vty_outln (vty, " Targeted Hellos:");
vty_out(vty, "%s", tnbrs_buffer);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
@@ -620,7 +620,7 @@ show_nbr_detail_msg(struct vty *vty, struct imsg *imsg,
vty_outln (vty, " IPv6:");
vty_out(vty, "%s", v6adjs_buffer);
}
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
break;
case IMSG_CTL_END:
return (1);
@@ -898,10 +898,10 @@ show_nbr_capabilities_msg(struct vty *vty, struct imsg *imsg, struct show_params
vty_outln (vty, "Peer LDP Identifier: %s:0",
inet_ntoa(nbr->id));
show_nbr_capabilities(vty, nbr);
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
@@ -1027,7 +1027,7 @@ show_lib_msg(struct vty *vty, struct imsg *imsg, struct show_params *params)
rt->in_use ? "yes" : "no");
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
@@ -1099,7 +1099,7 @@ show_lib_detail_msg(struct vty *vty, struct imsg *imsg, struct show_params *para
vty_outln (vty, "%-8sNo remote bindings","");
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
@@ -1261,7 +1261,7 @@ show_l2vpn_binding_msg(struct vty *vty, struct imsg *imsg,
vty_outln (vty," Remote Label: unassigned");
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;
@@ -1345,7 +1345,7 @@ show_l2vpn_pw_msg(struct vty *vty, struct imsg *imsg, struct show_params *params
(pw->status ? "UP" : "DOWN"));
break;
case IMSG_CTL_END:
- vty_outln (vty, "");
+ vty_out (vty, VTYNL);
return (1);
default:
break;