summaryrefslogtreecommitdiff
path: root/lib/vrf.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-21 17:15:40 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-29 17:34:54 +0000
commit1318e7c84190d55d958cd412276115850d46f55f (patch)
tree8d8c1b5831997a4771cb7614575ad42c471b9862 /lib/vrf.c
parent96ade3ed7716c89b8047a1c0ab3377985d461cf8 (diff)
*: s/VTY_NEWLINE/VTYNL/g
Should be able to fit more vty_out onto one line now Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/vrf.c')
-rw-r--r--lib/vrf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/vrf.c b/lib/vrf.c
index 7afe7ec8e2..6ad8cd91b6 100644
--- a/lib/vrf.c
+++ b/lib/vrf.c
@@ -475,7 +475,7 @@ DEFUN_NOSH (vrf,
{
vty_out (vty, "%% VRF name %s is invalid: length exceeds "
"%d characters%s",
- vrfname, VRF_NAMSIZ, VTY_NEWLINE);
+ vrfname, VRF_NAMSIZ, VTYNL);
return CMD_WARNING;
}
@@ -501,14 +501,14 @@ DEFUN_NOSH (no_vrf,
if (vrfp == NULL)
{
- vty_out (vty, "%% VRF %s does not exist%s", vrfname, VTY_NEWLINE);
+ vty_out (vty, "%% VRF %s does not exist%s", vrfname, VTYNL);
return CMD_WARNING;
}
if (CHECK_FLAG (vrfp->status, VRF_ACTIVE))
{
vty_out (vty, "%% Only inactive VRFs can be deleted%s",
- VTY_NEWLINE);
+ VTYNL);
return CMD_WARNING;
}